Bug 1609699
Summary: | virtio-vsock - guest kernel panic with ctrl+c after hot-unplug | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | yafu <yafu> | |
Component: | kernel | Assignee: | Stefano Garzarella <sgarzare> | |
kernel sub component: | KVM | QA Contact: | FuXiangChun <xfu> | |
Status: | CLOSED ERRATA | Docs Contact: | ||
Severity: | unspecified | |||
Priority: | unspecified | CC: | chayang, fjin, juzhang, stefanha, virt-bugs, virt-maint, xfu | |
Version: | 7.6 | |||
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | kernel-3.10.0-1008.el7 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1676595 (view as bug list) | Environment: | ||
Last Closed: | 2019-08-06 12:08:16 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: | 1676595, 1693996 |
Description
yafu
2018-07-30 08:13:22 UTC
Patch(es) committed on kernel-3.10.0-1008.el7 Reproduced bug with 3.10.0-957.5.1.el7.x86_64 from qemu level. 1)On host #modprobe vsock #modprobe vhost_vsock 2)Boot RHEL7.6.z guest with vhost-vsock-pci /usr/libexec/qemu-kvm -name guest=q35-seabios,debug-threads=on -machine pc,accel=kvm,usb=off,vmport=off,dump-guest-core=off,kernel_irqchip=split -cpu Broadwell,vmx=on -m 4096 -realtime mlock=off -smp 4,sockets=2,cores=2,threads=1 -uuid 34cc0dae-8998-480c-b2db-171ce1e7461a -no-user-config -nodefaults -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=delay -no-hpet -no-shutdown -global ICH9-LPC.disable_s3=1 -global ICH9-LPC.disable_s4=1 -boot strict=on -device virtio-scsi-pci,id=scsi0 -device virtio-serial-pci,id=virtio-serial0 -drive file=/home/choma/BZ-1677007/rhel7-6-z.qcow2,format=qcow2,if=none,id=drive-virtio-disk0 -device virtio-scsi-pci,id=drive-virtio-disk01,id=virtio-disk0 -device scsi-hd,drive=drive-virtio-disk0,bootindex=1 -netdev tap,id=hostnet0,vhost=on -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:ee:67:31 -spice port=5931,disable-ticketing,seamless-migration=on -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1 -chardev spicevmc,id=charredir0,name=usbredir -device virtio-balloon-pci,id=balloon0 -msg timestamp=on -vnc :2 -monitor stdio \ -device vhost-vsock-pci,id=vhost-vsock-pci0,guest-cid=3 \ 3)Inside guest #./nc-vsock -l 123456 4)unhotplug vhost-vosck-pci (qemu) device_del vhost-vsock-pci0 5)press ctrl+c to stop nc-vosck process result: Guest os kernel panic like comment0. Verified bug with the fixed kernel 3.10.0-1008.el7.x86_64. Guest works well after ctrl+c. So, move this bug to verified. 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-2019:2029 |