Hide Forgot
Description of problem: Version-Release number of selected component (if applicable): 3.10.0-50.el7.x86_64 qemu-kvm-rhev-1.5.3-19.el7.x86_64 seabios-bin-1.7.2.2-4.el7.noarch virtio-win-1.6.7-2 How reproducible: 100% Steps to Reproduce: 1.Start windows guest #/usr/libexec/qemu-kvm -M pc-i440fx-rhel7.0.0 -cpu SandyBridge -enable-kvm -m 2G -smp 2,cores=2 -name bcao_win-7-32-netkvm -uuid 884e673a-1b4a-4385-a522-b3cc35ef4e18 -rtc base=localtime,clock=host,driftfix=slew -drive file=win7-32.qcow2,if=none,media=disk,serial=aaabbbccc,werror=stop,rerror=stop,cache=writeback,format=qcow2,id=drive-disk0 -device virtio-blk-pci,drive=drive-disk0,id=disk0 -cdrom en_windows_7_ultimate_with_sp1_x86_dvd_u_677460.iso -fda /usr/share/virtio-win/virtio-win_x86.vfd -netdev tap,vhost=on,id=netdev0 -device virtio-net-pci,netdev=netdev0,id=nic1,mq=off,mac=1a:46:0b:ca:bc:7b -spice port=5931,disable-ticketing -vga qxl -monitor stdio -usb -device usb-tablet,id=tablet0 -global PIIX4_PM.disable_s3=0 -global PIIX_PM.disable_s4=0 -monitor unix:/tmp/tt,server,nowait 2.(qemu)drive_add 00:08:00 file=test2.raw,if=none,media=disk,readonly=off,werror=stop,rerror=stop,id=drive_del 3.(qemu)device_add virtio-blk-pci,id=del,drive=drive_del 4.(qemu)drive_del drive_del 5.(qemu)device_del del Actual results: the device named "del" does not work .The disk still can not been shown in the windows guest ,when I tried to do some write operation ,the terminal stuck instead of guest pause Expected results: The PCI Device named "del" should be deleted as well guest can not see this partition Additional info: 1.Tried to Device_del del first ,then no issue occurs 2.Tried to hot-unplug disk from windows guest ,then no issue occurs 3.This bug may related to https://bugzilla.redhat.com/show_bug.cgi?id=1004154 ,(I mean the terminal hang in the guest part )
Tested with latest version, steps are same as comment 0, no such issue now: qemu-kvm-rhev-2.12.0-7.el7.x86_64 Close this bug.