Bug 1371619
Summary: | Flags xsaveopt xsavec xgetbv1 are missing on qemu-kvm | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Guo, Zhiyi <zhguo> |
Component: | qemu-kvm | Assignee: | Eduardo Habkost <ehabkost> |
Status: | CLOSED ERRATA | QA Contact: | Guo, Zhiyi <zhguo> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 7.3 | CC: | chayang, ehabkost, juzhang, knoel, lmiksik, michen, rbalakri, virt-maint, xfu, zhguo |
Target Milestone: | rc | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-1.5.3-123.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-03 20:02:26 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Guo, Zhiyi
2016-08-30 15:58:23 UTC
ARAT: ARAT is not supported by qemu-kvm-1.5.3, and it is never included in any machine-type + CPU combination in machine-types <= rhel7.2.0 (PC_RHEL7_2_COMPAT in qemu-kvm-rhev has arat=off). HT: HT is missing because the following command-line option: -smp 1,threads=2,cores=1,sockets=3,maxcpus=6 conflicts with the semantics of "sockets" in qemu-kvm-1.5.3. "sockets" is only useful is to help calculate the nr_threads and nr_cores value, and it is calculated based on the number of online CPUs (1), not maxcpus (6), and nr_cores and nr_threads end up set to 1. Recommendations: * I recommend opening a separate BZ for that bug. * While the bug is not fixed, I recommend using just "threads=2,cores=1" and _not_ add a "sockets" argument. XSAVEOPT, XSAVEC, XGETBV1: This is unexpected. I can reproduce it (I see CPUID[EAX=0xD,ECX=1].EAX = 0 in my testing). I am investigating the cause. Found the bug, it is a regression. All XSAVE flags are being cleared because of a bug in the backport of patch "target-i386: add feature flags for CPUID[EAX=0xd, ECX=1]". Fix included in qemu-kvm-1.5.3-123.el7 Verify against package qemu-kvm-tools-1.5.3-123.el7.x86_64: Query flags inside guest, xsaveopt xsavec xgetbv1 find now # cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 94 model name : Intel Core Processor (Skylake) stepping : 3 microcode : 0x1 cpu MHz : 3695.996 cache size : 4096 KB physical id : 0 siblings : 1 core id : 0 cpu cores : 1 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap xsaveopt xsavec xgetbv1 Move to verified per comment 8, ht issue is tracked by Bug 1375507 - ht flag is missing when there is sockets option in smp Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2016-2585.html |