Hide Forgot
Description of problem: IDE disk with qcow2 and vmdk format image can be hot-plugged and hot-unplugged on Xen HVM Version-Release number of selected component (if applicable): virt-manager-0.6.1-14.el5 xen-3.0.3-131.el5 kernel-xen-2.6.18-261.el5 libvirt-0.8.2-20.el5 How reproducible: Always Steps to Reproduce: 1. Create a qcow2 format volume in storage : qcow2.img 2. Open a running guest, here is rhel5.6, run #modprobe acpiphp 3. On the Hardware tab, click "Add Hardware" 4. Select "Storage" and forward 5. Browse qcow2.img as File(disk image), Device type is "IDE disk", Forward and Finish 6. Select "hdb" in the Hardware tab, and click "Remove" Actual results: After step5, the disk "hdb" is added After step6, the "hdb" is removed Expected results: It should be available after next shutdown. Additional info:
It can be reproduced when hot-pulg/hot-unplug IDE-CDROM
This request was evaluated by Red Hat Product Management for inclusion in Red Hat Enterprise Linux 5.7 and Red Hat does not plan to fix this issue the currently developed update. Contact your manager or support representative in case you need to escalate this bug.
The bug is that it reports success, but should fail? Hmm, reassigning to xen.
What exactly is wrong here??? I see successful plug/unplug. If you remove the disk, it won't survive shutdown because you remove it.
Hot-plug/unplug is not supported for IDE disk, so the expected result should be hot-plug/unplug failed with prompt such as "it will take effect after the guest shutdown..."
Yes, IDE does not support hotplug. However, in this case xen block driver is used for disk handling and mimic ide interface. As this is standard and expected behavior of xen virtual enviroment, closing as not a bug.