Bug 1368032
Summary: | kernel crash after hot remove virtio-gpu device | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Guo, Zhiyi <zhguo> |
Component: | qemu-kvm-rhev | Assignee: | Gerd Hoffmann <kraxel> |
Status: | CLOSED ERRATA | QA Contact: | Guo, Zhiyi <zhguo> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.3 | CC: | chayang, juzhang, knoel, michen, mrezanin, tlavigne, virt-maint, xfu, zhguo |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-rhev-2.6.0-26.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-07 21:30:56 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: |
Description
Guo, Zhiyi
2016-08-18 07:41:01 UTC
virtio-gpu-pcui is not hotpluggable. https://patchwork.ozlabs.org/patch/667325/ > https://patchwork.ozlabs.org/patch/667325/
backport posted.
Fix included in qemu-kvm-rhev-2.6.0-26.el7 Verify against qemu-kvm-rhev-2.6.0-26.el7.x86_64. qemu cli used: /usr/libexec/qemu-kvm -name rhel7.3 -m 2048 \ -smp 6,threads=2,cores=1,sockets=3,maxcpus=6 \ -cpu Haswell-noTSX,check \ -device virtio-vga \ -device virtio-gpu,id=virtgpu \ -spice port=3001,disable-ticketing \ -device virtio-serial -chardev spicevmc,id=vdagent,debug=0,name=vdagent \ -serial unix:/tmp/m,server,nowait \ -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 \ -drive file=/home/guest/rhel73ss4.qcow2,if=none,id=drive-scsi-disk0,format=qcow2,cache=none,werror=stop,rerror=stop -device virtio-scsi-pci,id=scsi0 -device scsi-hd,drive=drive-scsi-disk0,bus=scsi0.0,scsi-id=0,lun=0,id=scsi-disk0,bootindex=1 \ -monitor stdio \ -usb -device usb-kbd,id=input0 \ -netdev tap,id=idinWyYp,vhost=on -device virtio-net-pci,mac=42:ce:a9:d2:4d:d7,id=idlbq7eA,netdev=idinWyYp \ -qmp tcp:localhost:4444,server,nowait \ -device intel-hda,id=sound0 -device hda-duplex,id=sound0-codec0 Boot guest and try to hot remove virtio-gpu device, qmp prompt not support hotplugging: { "execute": "device_del","arguments":{"id":"virtgpu"}} {"error": {"class": "GenericError", "desc": "Device 'virtio-gpu-pci' does not support hotplugging"}} Try to hot plug virtio-gpu device, qmp prompt device not hotplugable: { "execute": "device_add","arguments":{"driver":"virtio-gpu","id":"gpu1"}} {"error": {"class": "GenericError", "desc": "Parameter 'driver' expects pluggable device type"}} 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-2016-2673.html |