Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Feature:
Error message printed when the guest cpu definition isn't supported now contains cpu feature flags which are not supported.
Reason:
If a cpu definition provided by the user was not correct the error message wasn't helpful in determining which of the feature isn't supported.
Result (if any):
The error message describes which options of the user's configuration are not supported by the host.
Description of problem:
In virt-manager, assign guest cpu model as Nehalem, then start the guest, pop up error message: Error starting domain: internal error guest CPU is not compatible with host CPU.
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1. Host cpu flag:
# cat /proc/cpuinfo
...
model name : Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz
...
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm tpr_shadow vnmi flexpriority
2. In virt-manager, set the guest cpu model as Nehalem, Apply, then start the guest.
3. Error message will display:
Error starting domain: internal error guest CPU is not compatible with host CPU
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 45, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/engine.py", line 956, in asyncfunc
vm.startup()
File "/usr/share/virt-manager/virtManager/domain.py", line 1048, in startup
self._backend.create()
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 457, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: internal error guest CPU is not compatible with host CPU
Actual results:
As above
Expected results:
Message could be more friendly and report the missing flags
Additional info:
Sorry, the pkg are as following:
# uname -r
2.6.32-165.el6.x86_64
qemu-kvm-0.12.1.2-2.167.el6.x86_64
libvirt-0.9.3-7.el6.x86_64
virt-manager-0.8.6-4.el6.noarch
python-virtinst-0.500.5-3.el6.noarch
Reproduce this issue with libvirt-0.9.10-21.el6_3.3.x86_64.
Verified this issue with:
libvirt-0.10.0-0rc0.el6.x86_64
virt-manager-0.9.0-14.el6.x86_64
Now the error message is:
Error starting domain: unsupported configuration: guest and host CPU are not compatible: Host CPU does not provide required features: popcnt, sse4.2 : Error starting domain: unsupported configuration: guest and host CPU are not compatible: Host CPU does not provide required features: popcnt, sse4.2
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 44, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 65, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/domain.py", line 1063, in startup
self._backend.create()
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 620, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: unsupported configuration: guest and host CPU are not compatible: Host CPU does not provide required features: popcnt, sse4.2
So change the bug status to VERIFIED.
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.
http://rhn.redhat.com/errata/RHSA-2013-0276.html
Description of problem: In virt-manager, assign guest cpu model as Nehalem, then start the guest, pop up error message: Error starting domain: internal error guest CPU is not compatible with host CPU. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Host cpu flag: # cat /proc/cpuinfo ... model name : Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz ... flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm tpr_shadow vnmi flexpriority 2. In virt-manager, set the guest cpu model as Nehalem, Apply, then start the guest. 3. Error message will display: Error starting domain: internal error guest CPU is not compatible with host CPU Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line 45, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/engine.py", line 956, in asyncfunc vm.startup() File "/usr/share/virt-manager/virtManager/domain.py", line 1048, in startup self._backend.create() File "/usr/lib64/python2.6/site-packages/libvirt.py", line 457, in create if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self) libvirtError: internal error guest CPU is not compatible with host CPU Actual results: As above Expected results: Message could be more friendly and report the missing flags Additional info: