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 990254 - qemu-kvm failing when invalid machine type is provided
Summary: qemu-kvm failing when invalid machine type is provided
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: 6.5
Assignee: Miroslav Rezanina
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 990724
TreeView+ depends on / blocked
 
Reported: 2013-07-30 17:05 UTC by Michal Novotny
Modified: 2014-10-14 06:49 UTC (History)
11 users (show)

Fixed In Version: qemu-kvm-0.12.1.2-2.429.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 990724 (view as bug list)
Environment:
Last Closed: 2014-10-14 06:49:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1490 0 normal SHIPPED_LIVE qemu-kvm bug fix and enhancement update 2014-10-14 01:28:27 UTC

Description Michal Novotny 2013-07-30 17:05:31 UTC
Description of problem:
When user starts qemu-kvm with invalid (unsupported) machine type, only the list of supported machines is being output back to the user without any information the machine type specified is invalid.

Version-Release number of selected component (if applicable):
any

How reproducible:
100%

Steps to Reproduce:
1. /usr/lib/qemu-kvm -M error
2.
3.

Actual results:
$ qemu-kvm -M ?
Supported machines are:
pc         Standard PC (alias of $SOMETHING)
...

Expected results:
$ qemu-kvm -M ?
Error: Unsupported machine type 'error'
Supported machines are:
pc         Standard PC (alias of $SOMETHING)
...

Additional info:
Patch posted upstream. Details at http://lists.nongnu.org/archive/html/qemu-devel/2013-07/msg05884.html .

Comment 6 Miroslav Rezanina 2014-07-04 07:10:11 UTC
Fix included in qemu-kvm-0.12.1.2-2.429.el6

Comment 8 Shaolong Hu 2014-07-14 07:17:47 UTC
With qemu 428:

[root@localhost ~]# /usr/libexec/qemu-kvm -M error
Supported machines are:
pc         RHEL 6.5.0 PC (alias of rhel6.5.0)
rhel6.5.0  RHEL 6.5.0 PC (default)
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
rhel5.5.0  RHEL 5.5.0 PC
rhel5.4.4  RHEL 5.4.4 PC
rhel5.4.0  RHEL 5.4.0 PC

With 429:

[root@localhost ~]# /usr/libexec/qemu-kvm -M error
qemu-kvm: -M error: Unsupported machine type
Use -M ? to list supported machines!

Comment 9 errata-xmlrpc 2014-10-14 06:49:46 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.

http://rhn.redhat.com/errata/RHBA-2014-1490.html


Note You need to log in before you can comment on or make changes to this bug.