Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1425765 - The guest failed to start with ich6 sound when machine type is rhel6.*.0
The guest failed to start with ich6 sound when machine type is rhel6.*.0
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev (Show other bugs)
7.4
x86_64 Linux
unspecified Severity unspecified
: rc
: ---
Assigned To: Gerd Hoffmann
Guo, Zhiyi
: Regression
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-02-22 05:59 EST by yanqzhan@redhat.com
Modified: 2017-08-01 23:37 EDT (History)
15 users (show)

See Also:
Fixed In Version: qemu-kvm-rhev-2.8.0-6.el7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-08-01 19:44:45 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:2392 normal SHIPPED_LIVE Important: qemu-kvm-rhev security, bug fix, and enhancement update 2017-08-01 16:04:36 EDT

  None (edit)
Description yanqzhan@redhat.com 2017-02-22 05:59:58 EST
Description of problem:
The guest failed to start with ich6 sound when machine type is rhel6.*.0

Version-Release number of selected component (if applicable):
qemu-kvm-rhev-2.8.0-4.el7.x86_64

How reproducible:
100%


Steps to Reproduce:
1. on rhel7 host, define a rhel6 guest rhel6.6.0 machine type:
<domain type='kvm'>
  <name>rhel6.8</name>
...
  <os>
    <type arch='x86_64' machine='rhel6.6.0'>hvm</type>
    <boot dev='hd'/>
  </os>
...
</domain>

2. start the guest.
# virsh start rhel6.8
Domain rhel6.8 started

3. Edit guest xml and add ich6 sound model into it:
    <sound model='ich6'>
    </sound>

4. start the guest again:
# virsh start rhel6.8
error: Failed to start domain rhel6.8
error: internal error: qemu unexpectedly closed the monitor: Unexpected error in input_type_enum() at qapi/qapi-visit-core.c:364:
2017-02-22T13:36:20.207356Z qemu-kvm: -device intel-hda,id=sound0,bus=pci.0,addr=0x6: can't apply global intel-hda.msi=0: Invalid parameter '0'


Actual results:
As step 4, The guest failed to start with ich6 sound when machine type is rhel6.*.0.

Expected results:
should start the guest successfully.

Additional info:
1.When machine type is 7.3.0, the guest with ich6 sound can be started.
# virsh dumpxml V7.3-full
...
    <type arch='x86_64' machine='pc-i440fx-rhel7.3.0'>hvm</type>
...
    <sound model='ich6'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
    </sound>
...
# virsh start V7.3-full
Domain V7.3-full started

2.Can not reproduce on rhel7.3.z host:
# rpm -q qemu-kvm-rhev
qemu-kvm-rhev-2.6.0-28.el7_3.6.x86_64

# virsh dumpxml rhel6.8
...
    <type arch='x86_64' machine='rhel6.6.0'>hvm</type>
...
    <sound model='ich6'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </sound>
...
# virsh start rhel6.8
Domain rhel6.8 started
Comment 3 yanqzhan@redhat.com 2017-02-23 03:27:49 EST
can also reproduce on qemu-kvm-rhev-2.8.0-5.el7.x86_64.
Comment 4 Gerd Hoffmann 2017-02-23 14:19:49 EST
test build
https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=12614634
Comment 5 Gerd Hoffmann 2017-02-23 14:54:17 EST
patch posted.
Comment 6 yanqzhan@redhat.com 2017-02-24 00:28:38 EST
Test on qemu-kvm-rhev-2.8.0-5.el7.bz1425765.2.x86_64, the result is as expected:

steps:
1.define a guest with following xml:
# virsh dumpxml rhel6.8
<domain type='kvm'>
  <name>rhel6.8</name>
...
    <type arch='x86_64' machine='rhel6.6.0'>hvm</type>
...
    <sound model='ich6'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </sound>
...

2.try to start the guest:
# virsh start rhel6.8
Domain rhel6.8 started
Comment 7 Miroslav Rezanina 2017-03-08 05:55:55 EST
Fix included in qemu-kvm-rhev-2.8.0-6.el7
Comment 9 Guo, Zhiyi 2017-03-23 21:55:00 EDT
Reproduce this issue against qemu-kvm-rhev-2.8.0-3.el7.x86_64

# /usr/libexec/qemu-kvm -machine rhel6.6.0 -device intel-hda
Unexpected error in input_type_enum() at qapi/qapi-visit-core.c:364:
qemu-kvm: -device intel-hda: can't apply global intel-hda.msi=0: Invalid parameter '0'
Aborted (core dumped)

Verify this issue agasint qemu-kvm-rhev-2.8.0-6.el7.x86_64, no qemu error happen when using same qemu cli
Comment 10 Guo, Zhiyi 2017-03-23 21:56:29 EDT
Verified per comment 9
Comment 12 errata-xmlrpc 2017-08-01 19:44:45 EDT
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://access.redhat.com/errata/RHSA-2017:2392
Comment 13 errata-xmlrpc 2017-08-01 21:22:26 EDT
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://access.redhat.com/errata/RHSA-2017:2392
Comment 14 errata-xmlrpc 2017-08-01 22:14:23 EDT
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://access.redhat.com/errata/RHSA-2017:2392
Comment 15 errata-xmlrpc 2017-08-01 22:55:11 EDT
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://access.redhat.com/errata/RHSA-2017:2392
Comment 16 errata-xmlrpc 2017-08-01 23:19:49 EDT
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://access.redhat.com/errata/RHSA-2017:2392
Comment 17 errata-xmlrpc 2017-08-01 23:37:31 EDT
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://access.redhat.com/errata/RHSA-2017:2392

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