-
Bug
-
Resolution: Unresolved
-
Minor
-
rhel-9.6, rhel-10.0
-
No
-
Low
-
rhel-sst-virtualization
-
ssg_virtualization
-
3
-
Dev ack
-
False
-
-
None
-
None
-
None
-
None
-
-
x86_64
-
11.1.0
-
None
What were you trying to do that didn't work?
As subject
What is the impact of this issue to you?
Incorrect info in capabilities
Please provide the package NVR for which the bug is seen:
libvirt-10.10.0-2.el9.x86_64
qemu-kvm-9.1.0-7.el9.x86_64
kernel-5.14.0-545.el9.x86_64
How reproducible is this bug?:
100%
Steps to reproduce
Example 1: on a host of Intel(R) Xeon(R) Gold 5218 CPU @ 2.30GHz
1. Check the host cpu model in `virsh capabilities`:
➜ ~ virsh capabilities --xpath /capabilities/host/cpu/model <model>Cascadelake-Server-v3</model>
Check the definition for Cascadelake-Server v3 to v5]:]
{ .version = 3, .alias = "Cascadelake-Server-noTSX", .note = "ARCH_CAPABILITIES, no TSX", .props = (PropValue[]) { { "hle", "off" }, { "rtm", "off" }, { /* end of list */ } }, }, { .version = 4, .note = "ARCH_CAPABILITIES, no TSX", .props = (PropValue[]) { { "vmx-eptp-switching", "on" }, { /* end of list */ } }, }, { .version = 5, .note = "ARCH_CAPABILITIES, EPT switching, XSAVES, no TSX", .props = (PropValue[]) { { "xsaves", "on" }, { "vmx-xsaves", "on" }, { /* end of list */ } }, },
v4 has vmx-eptp-switching than v3. So check the vmx-eptp-switching by vmxcap
➜ ~ python3 vmxcap|tail -n3 VM Functions Hex: 0x1 EPTP Switching yes
Then check xsave and vmx-xsaves for v5:
➜ ~ python3 vmxcap|grep xsave -i Enable XSAVES/XRSTORS yes ➜ ~ lscpu|grep xsave -i Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts hwp hwp_act_window hwp_epp hwp_pkg_req vnmi pku ospke avx512_vnni md_clear flush_l1d arch_capabilities
xsave and vmx-xsaves seems supported. So the host model in `virsh capabilities` should be Cascadelake-Server-v5
Expected results
Cascadelake-Server-v5
Actual results
Cascadelake-Server-v3
Attachment: the cpuinfo, capabilities xml, vmcap results. Cascadelake-Server.tar.gz
- is blocked by
-
RHEL-71662 Rebase libvirt in RHEL-10.1
- In Progress
- links to