Description of problem: Libvirt is unable to detect CPU SVM capability Version-Release number of selected component (if applicable): libvirt 3.2.1-3 How reproducible: Every time Steps to Reproduce: 1. Attempt to create VM 2. 3. Actual results: Unable to complete install: 'the CPU is incompatible with host CPU: Host CPU does not provide required features: svm' Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line 88, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/create.py", line 2288, in _do_async_install guest.start_install(meter=meter) File "/usr/share/virt-manager/virtinst/guest.py", line 477, in start_install doboot, transient) File "/usr/share/virt-manager/virtinst/guest.py", line 405, in _create_guest self.domain.create() File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1039, in create if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self) libvirtError: the CPU is incompatible with host CPU: Host CPU does not provide required features: svm Expected results: VM would start Additional info: This was working prior to upgrading to F26. SVM is definitely enabled in BIOS: # grep svm /proc/cpuinfo 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 mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb bpext ptsc cpb hw_pstate vmmcall fsgsbase bmi1 xsaveopt arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold overflow_recov 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 mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb bpext ptsc cpb hw_pstate vmmcall fsgsbase bmi1 xsaveopt arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold overflow_recov 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 mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb bpext ptsc cpb hw_pstate vmmcall fsgsbase bmi1 xsaveopt arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold overflow_recov 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 mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb bpext ptsc cpb hw_pstate vmmcall fsgsbase bmi1 xsaveopt arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold overflow_recov Jun 28 16:25:12 bne-server1.bne-home.net libvirtd[9003]: 2017-06-28 06:25:12.781+0000: 9005: info : libvirt version: 3.2.1, package: 3.fc26 (Fedora Project, 2017-05-31-21:32:40, buildhw-04.phx2.fedoraproject.org) Jun 28 16:25:12 bne-server1.bne-home.net libvirtd[9003]: 2017-06-28 06:25:12.781+0000: 9005: info : hostname: bne-server1.bne-home.net Jun 28 16:25:12 bne-server1.bne-home.net libvirtd[9003]: 2017-06-28 06:25:12.781+0000: 9005: error : virCPUx86Compare:1707 : the CPU is incompatible with host CPU: Host CPU does not provide required features: svm
Can you try with libvirt 3.3.0? I think this should be fixed by a series of commits ending with v3.2.0-197-g5b4a6adb5.
Brendan, you can grab a newer libvirt from the virt-preview repo for testing: https://fedoraproject.org/wiki/Virtualization_Preview_Repository
(In reply to Jiri Denemark from comment #1) > Can you try with libvirt 3.3.0? I think this should be fixed by a series of > commits ending with v3.2.0-197-g5b4a6adb5. Apologies for the late response. The one I pulled from the testing repo was $ libvirtd --version libvirtd (libvirt) 3.4.0 It works with this one. Thanks for the prompt response, love your work.
This issue is proposed as a blocker (see #1467599) for F26 release. Is it possible to have a less-invasive fix than upgrading to 3.4.0?
(In reply to Matthew Miller from comment #4) > This issue is proposed as a blocker (see #1467599) for F26 release. Is it > possible to have a less-invasive fix than upgrading to 3.4.0? It is probably possible to backport the fixes Jiri mentions to the version in Fedora 26.
Closing as a dupe of the blocker bug, since there's more useful information / discussion there. *** This bug has been marked as a duplicate of bug 1467599 ***