Bug 990724

Summary: qemu-kvm failing when invalid machine type is provided
Product: Red Hat Enterprise Linux 7 Reporter: Ademar Reis <areis>
Component: qemu-kvmAssignee: Miroslav Rezanina <mrezanin>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: armbru, bsarathy, chayang, huding, juzhang, michen, mkenneth, qzhang, rbalakri, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-1.5.3-67.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 990254 Environment:
Last Closed: 2015-03-05 08:01:14 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:
Bug Depends On: 990254    
Bug Blocks:    

Comment 1 Miroslav Rezanina 2014-02-25 16:42:24 UTC
Move to 7.1 as fix still not accepted upstream.

Comment 3 Jeff Nelson 2014-08-08 16:54:49 UTC
Fix included in qemu-kvm-1.5.3-67.el7

Comment 5 huiqingding 2014-10-13 23:59:45 UTC
Reproduce this issue using the following version:
kernel-3.10.0-123.9.1.el7.x86_64
qemu-kvm-1.5.3-64.el7.x86_64

Steps to Reproduce:
# /usr/libexec/qemu-kvm -M error
Supported machines are:
none                 empty machine
pc                   RHEL 7.0.0 PC (i440FX + PIIX, 1996) (alias of pc-i440fx-rhel7.0.0)
pc-i440fx-rhel7.0.0  RHEL 7.0.0 PC (i440FX + PIIX, 1996) (default)
rhel6.5.0            RHEL 6.5.0 PC
rhel6.4.0            RHEL 6.4.0 PC
rhel6.3.0            RHEL 6.3.0 PC
rhel6.2.0            RHEL 6.2.0 PC
rhel6.1.0            RHEL 6.1.0 PC
rhel6.0.0            RHEL 6.0.0 PC
q35                  RHEL-7.0.0 PC (Q35 + ICH9, 2009) (alias of pc-q35-rhel7.0.0)
pc-q35-rhel7.0.0     RHEL-7.0.0 PC (Q35 + ICH9, 2009)

Comment 6 huiqingding 2014-10-14 00:09:08 UTC
Test this issue using the following version on an intel host:
kernel-3.10.0-188.el7.x86_64
qemu-kvm-1.5.3-75.el7.x86_64

Steps to Test:
# /usr/libexec/qemu-kvm -M error
qemu-kvm: -M error: Unsupported machine type
Use -machine help to list supported machines!

Comment 7 huiqingding 2014-10-14 00:58:47 UTC
Test this issue using the following version on an amd host:
kernel-3.10.0-187.el7.x86_64
qemu-kvm-rhev-2.1.2-3.el7.x86_64

Steps to Test:
# /usr/libexec/qemu-kvm -M error
qemu-kvm: -M error: Unsupported machine type
Use -machine help to list supported machines!

Comment 8 huiqingding 2014-10-14 01:01:37 UTC
Based on the results of comment 6 and comment 7, I think this issue has been fixed.

Comment 11 errata-xmlrpc 2015-03-05 08:01:14 UTC
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-2015-0349.html