Bug 616346

Summary: libvirt doesn't allow me to run RHEL5 guest on RHEL-6 host
Product: Red Hat Enterprise Linux 6 Reporter: Matěj Cepl <mcepl>
Component: qemu-kvmAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 6.1CC: amit.shah, berrange, eblake, mkenneth, virt-maint, xen-maint
Target Milestone: rcKeywords: RHELNAK
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-20 12:34:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Matěj Cepl 2010-07-20 08:33:25 UTC
Description of problem:
Whenever I try to start a virtual machine on my RHEL-6 host, I get this error message:

johanka:~# LANG=C virsh start tikanga
error: Failed to start domain tikanga
error: internal error Process exited while reading console log output: Supported machines are:
pc         RHEL 6.0.0 PC (alias of rhel6.0.0)
rhel6.0.0  RHEL 6.0.0 PC (default)
rhel5.5.0  RHEL 5.5.0 PC
rhel5.4.4  RHEL 5.4.4 PC
rhel5.4.0  RHEL 5.4.0 PC

Which (aside from being completely unhelpful ... which machine we are talking about here? host or guest?) is just wrong. My host is RHEL-6, guest RHEL-5

Version-Release number of selected component (if applicable):
johanka:~# rpm -q libvirt qemu-kvm

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:

Comment 1 Matěj Cepl 2010-07-20 08:36:22 UTC
RHEL-4 guest starts without a problem.

Comment 3 Matěj Cepl 2010-07-20 08:45:07 UTC
When I changed via

virsh edit tikanga 


<type arch='x86_64' machine='pc-0.12'>hvm</type>


<type arch='x86_64' machine='pc'>hvm</type>

guest starts again.

Is this a regression or wasn't this supposed to work all the time and it was just a mistake that it did?

Comment 4 RHEL Product and Program Management 2010-07-20 08:57:40 UTC
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **

Comment 5 Amit Shah 2010-07-20 09:06:19 UTC
libvirt should've selected a rhel-5 machine type for your installation. Using pc-0.12 was wrong; was this guest installed a while ago?

Comment 6 Daniel Berrangé 2010-07-20 10:11:16 UTC
Earlier version of RHEL6 kvm still included the 'pc-0.12' machine type. This was recently disabled

- kvm-Disable-non-rhel-machine-types-pc-0.12-pc-0.11-pc-0..patch [bz#607263]

Hence any guests which happened to have that wouldn't work. IMHO this is NOTABUG.

Comment 7 Bill Burns 2010-07-20 12:34:26 UTC
Closed per comment #6