Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1065268

Summary: [virtio-win][scsi]Hot-unplug scsi disk got unfriendly alert message within guest.
Product: Red Hat Enterprise Linux 7 Reporter: Min Deng <mdeng>
Component: virtio-winAssignee: Amnon Ilan <ailan>
virtio-win sub component: virtio-win-prewhql QA Contact: Virtualization Bugs <virt-bugs>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: unspecified    
Priority: unspecified CC: hhuang, juzhang, knoel, lijin, michen, phou, rbalakri, virt-maint
Version: 7.0   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-17 07:50:53 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:
Attachments:
Description Flags
Screenshot none

Description Min Deng 2014-02-14 08:43:18 UTC
Created attachment 863177 [details]
Screenshot

Description of problem:
Hot-unplug scsi disk got unfriendly alert message
Version-Release number of selected component (if applicable):
virtio-win-1.6.8-4
kernel-3.10.0-84.el7.x86_64
qemu-kvm-rhev-1.5.3-45.el7.x86_64

How reproducible:
3 times

Steps to Reproduce:
1.boot up guest with the following CLI
 /usr/libexec/qemu-kvm -M pc -m 2G -smp 2 -cpu Nehalem -usb -device usb-tablet -netdev tap,id=hostnet0,script=/etc/qemu-ifup -device e1000,netdev=hostnet0,id=net0 -uuid e9822031-7f74-475e-a7e9-77edf2fbce2b -rtc-td-hack -no-kvm-pit-reinjection -chardev socket,id=a,path=/tmp/monitor-win8-32,server,nowait -mon chardev=a,mode=readline -name bug -vnc :44 -vga cirrus -drive file=/home/en_windows_server_2008_datacenter_enterprise_standard_sp2_x64_dvd_342336.iso,if=none,media=cdrom,id=cdrom -device ide-cd,bus=ide.0,unit=0,drive=cdrom,id=sys-cdrom,bootindex=1 -fda /usr/share/virtio-win/virtio-win-1.6.8_amd64.vfd -monitor stdio -drive file=win2k8-64-run.qcow3,format=qcow2,if=none,id=drive-virtio0,cache=writeback,werror=stop,rerror=stop -device virtio-scsi-pci,id=scsi0 -device scsi-hd,bus=scsi0.0,drive=drive-virtio0,id=virtio-blk-pci0 -device virtio-scsi-pci,id=scsi1 -drive file=disk2.raw,if=none,format=raw,cache=writeback,id=drive-virtio-data1,werror=stop,rerror=stop -device scsi-hd,bus=scsi1.0,id=virtio-data1,drive=drive-virtio-data1 -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0
2.in monitor
  device_del virtio-data1
  device_del scsi1
3.

Actual results:
Though the disk was removed from guest finally but there was an improper message,please refer to screenshot.And the disk wasn't used while hot-unplug it.

Expected results:
The disk could be removed successfully.

Additional info:

Comment 2 Min Deng 2014-02-14 08:59:51 UTC
I only hit the issue on win2k8-64 guest but it wasn't reproduced on win8 guest.

Comment 3 Min Deng 2014-02-21 07:15:51 UTC
For step2,
    wait for 20s and then hot-unplug "scsi1" it still could be reproduced.
    
CLI-/usr/libexec/qemu-kvm -M pc -m 6G -smp 4 -cpu Nehalem -usb -device usb-tablet -netdev tap,id=hostnet0,script=/etc/qemu-ifup -device e1000,netdev=hostnet0,id=net0 -uuid e9822031-7f74-475e-a7e9-77edf2fbce2b -rtc-td-hack -no-kvm-pit-reinjection -chardev socket,id=a,path=/tmp/monitor-win8-32,server,nowait -mon chardev=a,mode=readline -fda /usr/share/virtio-win/virtio-win-1.6.8_amd64.vfd -monitor stdio -drive file=win2864iso.raw,format=raw,if=none,id=drive-virtio0,cache=none,werror=stop,rerror=stop -device virtio-scsi-pci,id=scsi0 -device scsi-hd,bus=scsi0.0,drive=drive-virtio0,id=virtio-blk-pci0 -monitor stdio -spice port=5931,disable-ticketing -vga qxl -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -drive file=disk8.raw,format=raw,if=none,id=disk8,cache=none,werror=stop,rerror=stop -device virtio-scsi-pci,id=scsi8 -device scsi-hd,bus=scsi8.0,drive=disk8,id=scsihdd8 -monitor unix:/tmp/tt,server,nowait

scripts,
[root@dell-me02-pem620-02 home]# cat hotplug.sh 
echo device_del scsihdd8 |nc -U /tmp/tt
sleep 20  
echo device_del scsi8|nc -U /tmp/tt

Comment 5 Ronen Hod 2014-08-07 08:36:33 UTC
Deferring to 7.2. Too much work.