| Summary: | [virtio-scsi] after hot-unplug a virtio-scsi disk rescan scsi bus qemu reports I/O error | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | daiwei <wdai> |
| Component: | qemu-kvm | Assignee: | Paolo Bonzini <pbonzini> |
| Status: | CLOSED WORKSFORME | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.3 | CC: | acathrow, bsarathy, juzhang, michen, mkenneth, pbonzini, shuang, tburke, virt-maint |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-19 03:53:46 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 769712, 857935, 889075 | ||
|
Description
daiwei
2012-03-13 12:45:34 UTC
This is not a bug, the same happens if you do drive_del with an IDE or even virtio disk for example. You also need to do device_del on the scsi-hd device. Please test that libvirt does unplug correctly, however. "-device scsi-hd,drive=testdisk,scsi-id=0,lun=1" also should have a ID like "-device scsi-hd,drive=testdisk,scsi-id=0,lun=1,id=datadisk",then can use device_del to delete scsi-hd device. Thanks Paolo. |