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 1263317 - machine type capabilities are missing the canonical names of default types
Summary: machine type capabilities are missing the canonical names of default types
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libvirt
Version: 7.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Jiri Denemark
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 1229666
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-15 14:15 UTC by Jan Kurik
Modified: 2015-12-01 15:04 UTC (History)
17 users (show)

Fixed In Version: libvirt-1.2.8-16.el7_1.5
Doc Type: Bug Fix
Doc Text:
Due to the fact that the libvirt library uses different ways of checking machine types supported by the qemu-kvm module in Red Hat Enterprise Linux 6 and in Red Hat Enterprise Linux 7, libvirt previously advertized both the canonical machine type name and its alias as supported in Red Hat Enterprise Linux 6, but only the alias in Red Hat Enterprise Linux 7. With this update, libvirt requests the list of supported machine types from qemu-kvm and updates the list to always contain both the canonical name and its alias. While the methods to retrieve supported machine types from qemu-kvm differ, both canonical machine type names and their aliases are now advertized as supported in both versions of Red Hat Enterprise Linux.
Clone Of: 1229666
Environment:
Last Closed: 2015-11-04 15:49:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1969 0 normal SHIPPED_LIVE libvirt bug fix update 2015-11-04 20:49:00 UTC

Description Jan Kurik 2015-09-15 14:15:14 UTC
This bug has been copied from bug #1229666 and has been proposed
to be backported to 7.1 z-stream (EUS).

Comment 8 zhenfeng wang 2015-09-25 05:22:49 UTC
Reproduce this bug with libvirt-1.2.8-16.el7_1.4.x86_64, couldn't see the default machine type in the capabilities, could only see the canonical machine type

# /usr/libexec/qemu-kvm -machine help
Supported machines are:
pc                   RHEL 7.1.0 PC (i440FX + PIIX, 1996) (alias of pc-i440fx-rhel7.1.0)
pc-i440fx-rhel7.1.0  RHEL 7.1.0 PC (i440FX + PIIX, 1996) (default)
pc-i440fx-rhel7.0.0  RHEL 7.0.0 PC (i440FX + PIIX, 1996)


#virsh capabilities
<guest>
    <os_type>hvm</os_type>
    <arch name='x86_64'>
      <wordsize>64</wordsize>
      <emulator>/usr/libexec/qemu-kvm</emulator>
      <machine canonical='pc-i440fx-rhel7.1.0' maxCpus='240'>pc</machine>
      <machine maxCpus='240'>rhel6.6.0</machine>
      <machine maxCpus='240'>pc-q35-rhel7.0.0</machine>


Verify this bug with libvirt-1.2.8-16.el7_1.5.x86_64, could see the default machine type in the capabilities

pkginfo
qemu-kvm-rhev-2.1.2-23.el7_1.9.x86_64
libvirt-1.2.8-16.el7_1.5.x86_64

steps
# /usr/libexec/qemu-kvm -machine help
Supported machines are:
pc                   RHEL 7.1.0 PC (i440FX + PIIX, 1996) (alias of pc-i440fx-rhel7.1.0)
pc-i440fx-rhel7.1.0  RHEL 7.1.0 PC (i440FX + PIIX, 1996) (default)
pc-i440fx-rhel7.0.0  RHEL 7.0.0 PC (i440FX + PIIX, 1996)
rhel6.6.0            RHEL 6.6.0 PC

#virsh capabilities
--
  <guest>
    <os_type>hvm</os_type>
    <arch name='x86_64'>
      <wordsize>64</wordsize>
      <emulator>/usr/libexec/qemu-kvm</emulator>
      <machine maxCpus='240'>pc-i440fx-rhel7.1.0</machine>
      <machine canonical='pc-i440fx-rhel7.1.0' maxCpus='240'>pc</machine>
      <machine maxCpus='240'>rhel6.6.0</machine>
      <machine maxCpus='240'>pc-q35-rhel7.0.0</machine>

According to the upper steps, mark this bug verified

Comment 10 errata-xmlrpc 2015-11-04 15:49:55 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/RHBA-2015-1969.html


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