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 1047265 - Sound device does not work well after migrate from rhel6.5 host to rhel7.0
Summary: Sound device does not work well after migrate from rhel6.5 host to rhel7.0
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Gerd Hoffmann
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 1035184
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-30 08:39 UTC by Qunfang Zhang
Modified: 2016-06-13 13:21 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-13 13:21:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Sound device report error after migration. (653.20 KB, image/png)
2013-12-30 08:41 UTC, Qunfang Zhang
no flags Details

Description Qunfang Zhang 2013-12-30 08:39:35 UTC
Description of problem:
Boot a guest on rhel6.5 host with sound device, playing some music inside guest and then migrate to rhel7.0 host. After migration, the music is still playing in the guest, however, after about 5~10 seconds, the music stops and report error that the audio device was disconnected or reconfigured. (Attachment will be uploaded.)

Version-Release number of selected component (if applicable):
RHEL6.5 host:
kernel-2.6.32-431.1.2.el6.x86_64
qemu-kvm-0.12.1.2-2.415.el6_5.3.x86_64

RHEL7.0 host:
kernel-3.10.0-64.el7.x86_64
qemu-kvm-1.5.3-31.el7.x86_64


How reproducible:
Always

Steps to Reproduce:
1. Boot up a win7 guest on 6.5 host with sound device, eg:
 /usr/libexec/qemu-kvm -M rhel6.5.0 -cpu SandyBridge -enable-kvm -m 2G -smp 4,sockets=4,cores=1,threads=1 -name win8-64 -uuid 9a0e67ec-f286-d8e7-0548-0c1c9ec93009 -nodefconfig -nodefaults -monitor stdio -rtc base=utc,clock=host,driftfix=slew -no-kvm-pit-reinjection -no-shutdown -usb -device usb-tablet,id=input1 -device usb-mouse,id=mouse  -device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x3 -drive file=/media/win7-32-virtio.qcow2,if=none,id=drive-sata0-0-0,format=qcow2,cache=none,werror=stop,rerror=stop -device scsi-hd,bus=scsi0.0,drive=drive-sata0-0-0,id=sata0-0-0,bootindex=1 -drive if=none,media=cdrom,id=drive-sata0-0-1,readonly=on,format=raw -device ide-drive,bus=ide.0,unit=0,drive=drive-sata0-0-1,id=sata0-0-1 -netdev tap,id=hostnet0,vhost=on,script=no -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:d5:51:8a,bus=pci.0,addr=0x4 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -device usb-tablet,id=input0 -spice port=5930,disable-ticketing -vga qxl -device intel-hda,id=sound0,bus=pci.0,addr=0x5 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -device virtio-serial-pci,id=virtio-serial0,max_ports=16,vectors=0,bus=pci.0,addr=0x7 -chardev socket,id=channel1,path=/tmp/helloworld1,server,nowait -device virtserialport,chardev=channel1,name=port1,bus=virtio-serial0.0,id=port1 -chardev socket,id=channel2,path=/tmp/helloworld2,server,nowait -device virtserialport,chardev=channel2,name=port2,bus=virtio-serial0.0,id=port2 -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -qmp tcp:0:5555,server,nowait


2. Connect the guest with spice
#remote-viewer spice://$host_ip:5930 

3. Plug an ear phone on the spice client host and play some music inside guest.

4. Boot the guest with listening mode on destination host "-incoming tcp:0:5800"

5. Migrate the guest to dst host.

Actual results:
After migration finished, the music is still running at the beginning, but after about 5~10 seconds, the music stops and sound device does not work well.

Expected results:
Sound device should always work well.

Additional info:

Comment 1 Qunfang Zhang 2013-12-30 08:41:50 UTC
Created attachment 843305 [details]
Sound device report error after migration.

Comment 4 Gerd Hoffmann 2014-01-16 14:12:59 UTC
vnc+sound is not supported.  Please retest once bug 1035184 is fixed.

Comment 7 Gerd Hoffmann 2015-05-04 08:29:12 UTC
(In reply to Gerd Hoffmann from comment #4)
> vnc+sound is not supported.  Please retest once bug 1035184 is fixed.

Ping.  Bug 1035184 is fixed meanwhile.

Comment 8 Ademar Reis 2015-09-18 12:36:16 UTC
(In reply to Gerd Hoffmann from comment #7)
> (In reply to Gerd Hoffmann from comment #4)
> > vnc+sound is not supported.  Please retest once bug 1035184 is fixed.
> 
> Ping.  Bug 1035184 is fixed meanwhile.

ping again, high chances that this BZ has been fixed.

Comment 9 juzhang 2015-09-21 09:28:14 UTC
Hi Huding,

Could you have a try from RHEL6.7 host to RHEL7.2 host?

Hi Gerd,

Please let QE know if we need to test it from RHEL6.5 host to RHEL7.0 host.

Best Regards,
Junyi

Comment 10 huiqingding 2015-10-26 12:54:29 UTC
(In reply to juzhang from comment #9)
> Hi Huding,
> 
> Could you have a try from RHEL6.7 host to RHEL7.2 host?
> 

I test from RHEL6.7.z to RHEL7.2 as comment #0 and the result is ok. After migration, the music can be played normally.

The version of packages are:
RHEL6.7.z host:
kernel-2.6.32-573.8.1.el6.x86_64
qemu-kvm-0.12.1.2-2.479.el6_7.2.x86_64
RHEL7.2 host:
kernel-3.10.0-326.el7.x86_64
qemu-kvm-1.5.3-105.el7.x86_64

Comment 11 Gerd Hoffmann 2016-06-13 13:21:57 UTC
> I test from RHEL6.7.z to RHEL7.2 as comment #0 and the result is ok. After
> migration, the music can be played normally.

Good, closing.


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