Hide Forgot
Description of problem: Interface cannot be hot-unplugged from guest on Xen HVM Version-Release number of selected component (if applicable): virt-manager-0.6.1-14.el5 kernel-xen-2.6.18-261.el5 xen-3.0.3-131.el5 libvirt-0.8.2-20.el5 How reproducible: Always Steps to Reproduce: 1.Make sure you have added a NIC. 2.Launch virt-manager: #virt-manager 3.choose a vm and click the Run button in the Virtual Machine Details window. 3.Click the Hardware tab. 4.Select the NIC you just added then click Remove button. Actual results: the NIC is still in the list, after reboot vm, the NIC is disappeared. Expected results: the NIC is deleted successfully Additional info:
This problem can be reproduced when I do virtual disk hot-unplug.
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.
Please provide the output of virt-manager --debug when reproducing.
Reproduced with the following components and steps: Components: virt-manager-0.6.1-14.el5 libvirt-0.8.2-22.el5 xen-3.0.3-132.el5 [root@localhost ~]# uname -a Linux localhost.localdomain 2.6.18-274.el5xen #1 SMP Fri Jul 8 17:45:44 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux Steps: 1. Add a interface device (type is "pcnet") to a shut-down guest. 2. Start the guest. 3. When the guest boots up completely, remove the "pcnet" interface. Actual results: the NIC is still in the list, after reboot vm, the NIC is disappeared. Expected results: the NIC is deleted successfully Additional info: Interface with type "ne2k_pci" and "rtl8139" has similar problems. But interface with type "hypervisor default" has no this problem.
Created attachment 512629 [details] virt-manager log message, for #virt-manager --debug could not take effect in the rhel5.7.
This is either a xen or libvirt bug. My xenfv and xenpv guest both have network devices like: <interface type='bridge'> <mac address='00:16:3e:72:cb:f3'/> <source bridge='xenbr0'/> <script path='vif-bridge'/> </interface> If I remove that device with 'virsh detach-device' on a running pv guest, virsh dumpxml will no longer show the network device after a couple seconds. For a fullvirt guest though, detach-device succeeds but the network device is never removed from the dumpxml output. Reassigning to libvirt for further triage