Bug 1141666
Summary: | Qemu crashed if reboot guest after hot remove AC97 sound device | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Qian Guo <qiguo> | |
Component: | qemu-kvm-rhev | Assignee: | Gerd Hoffmann <kraxel> | |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 7.1 | CC: | hhuang, juzhang, michen, virt-maint | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | qemu-kvm-rhev-2.1.2-7.el7 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1141667 (view as bug list) | Environment: | ||
Last Closed: | 2015-03-05 09:55:30 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: | ||||
Bug Blocks: | 1141667 |
Description
Qian Guo
2014-09-15 07:52:49 UTC
(same patch as for 1141667) Fix included in qemu-kvm-rhev-2.1.2-7.el7 Reproduced this bug with qemu-kvm-rhev-2.1.0-4.el7.x86_64 Steps: 1.Boot guest with AC97 # /usr/libexec/qemu-kvm -cpu Penryn -m 4G -smp 4,sockets=1,cores=4,threads=1 -M pc -enable-kvm -device piix3-usb-uhci,id=usb -name rhel7 -nodefaults -nodefconfig -device virtio-balloon-pci,id=balloon0 -spice disable-ticketing,port=5000 -vga qxl -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -monitor stdio -drive file=/home/rhel71029/rhel711029cp1.qcow2,if=none,media=disk,format=qcow2,rerror=stop,werror=stop,aio=native,id=scsi-disk0 -device virtio-scsi-pci,id=bus2 -device scsi-hd,bus=bus2.0,drive=scsi-disk0,id=disk0 -device AC97,id=a1 -qmp unix:/tmp/q1,server,nowait 2.Hot unplug the ac97 device {"execute":"qmp_capabilities"} {"return": {}} {"execute":"device_del","arguments":{"id":"a1"}} {"return": {}} {"timestamp": {"seconds": 1415786017, "microseconds": 449775}, "event": "DEVICE_DELETED", "data": {"device": "a1", "path": "/machine/peripheral/a1"}} 3.reboot guest Result, coredumpd (gdb) bt #0 AUD_set_active_out (sw=0x4000000, on=0) at audio/audio.c:1194 #1 0x000055555576bb52 in reset_bm_regs (s=s@entry=0x5555563c0690, r=r@entry=0x5555563c0f1c) at hw/audio/ac97.c:326 #2 0x000055555576c8cf in ac97_on_reset (opaque=0x5555563c0690) at hw/audio/ac97.c:1329 #3 0x0000555555722a0d in qemu_devices_reset () at vl.c:1830 #4 qemu_system_reset (report=report@entry=true) at vl.c:1843 #5 0x000055555561e61f in main_loop_should_exit () at vl.c:1974 #6 main_loop () at vl.c:2014 #7 main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at vl.c:4552 So this bug is reproduced. Verify this bug with qemu-kvm-rhev-2.1.2-7.el7.x86_64 Steps as above Result: after reboot, guest can work well,and ac97 is deleted successfully. Verified with both windows7 and rhel7.1 guest. So this bug is fixed 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-0624.html |