Bug 958786
Summary: | internal error unable to execute QEMU command | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Pankaj <pankaj.kapila> |
Component: | libvirt | Assignee: | Peter Krempa <pkrempa> |
Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.4 | CC: | acathrow, dyasny, dyuan, mzhan, pankaj.kapila, rwu, weizhan, zhpeng |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Windows | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-05-30 16:16:31 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
Pankaj
2013-05-02 12:09:55 UTC
Hi Pankaj, I wasn't able to reproduce the issue you've reported. Could you please try to reproduce it with debug logs enabled on the libvirt daemon and attach them(after compressing them) to this BZ? Thanks. Peter Actually I managed to reproduce the same error by a few more steps and found the root issue. 1. start a windows guest 2. hot-add a virtio disk to the guest and install virtio storage driver 3. enable the disk in the guest 4. hot-remove the disk without telling the guest (don't do "safe remove hardware") the guest will not allow ejecting the device from the emulator, but libvirt thinks that it was successful 5. Try to hot-add a disk again -> it will fail. The state can be verified with: $ virsh qemu-monitor-command w2k12 --hmp "info pci" [... truncated output ... ] SCSI controller: PCI device 1af4:1001 IRQ 0. BAR0: I/O at 0xff80 [0xffbf]. BAR1: 32 bit memory at 0xfebfe000 [0xfebfefff]. id "virtio-disk1" 6. "safely remove" the disk in the guest 7. Retry step 5. -> it will succeed now. This issue is also reproducible on current upstream. I'm suspecting that libvirt isn't still properly handling the device deleted event sent from qemu after the guest ejects the device. Also, next time please provide more accurate reproducer steps, I managed to reproduce this by accident when cleaning up the environment. *** This bug has been marked as a duplicate of bug 807023 *** |