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.

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