Description of problem: run a fv VM,when it's running,add some virtual disk,then shutdown,the virtual disk just added disappear or reboot first to verify the virtual disk is added successfully,then shutdown,the virtual disk just added also disappear. Version-Release number of selected component (if applicable): virt-manager -0.6.1-7.el5 xen-3.0.3-90.el5 libvirt-0.6.3-15.el5 host:RHEL5 Server x86_64,RHEL5 Client x86_64,RHEL5 Server i386,RHEL5 Client i386,RHEL5 IA64 How reproducible: 100% Steps to Reproduce: 1.Launch virt-manager: #virt-manager 2.Double-click a vm (FV)and click the Run button in the Virtual Machine Details window. 3.when it fully activated ,Click the Hardware tab. 4.click add hardware to add some virtual disk 5'.shutdown then view the hardware list 5".reboot to verify the virtual is added succussfully,then shutdown view the hardware list 6.run again the vm Actual results: 1.after 5',the virtual disk just added not display on hardware list 2.after 5",the virtual disk just added not display on hardware list 3.after 6,the virtual disk just added not display on hardware list Expected results: 1.after 5',the virtual disk just added display on hardware list 2.after 5",the virtual disk just added display on hardware list 3.after 6,the virtual disk just added display on hardware list Additional info:
Hmm. This is due to how libvirt/xen handle hotplugging, and how virt-manager exposes it to the user. virt-manager should ensure that any hotplug operation is persistent across VM start/shutdown. This is fixed in upstream virt-manager, but it might be a pretty invasive/substancial backport. I'll have to look at possibly minimizing the risk.
*** This bug has been marked as a duplicate of bug 539496 ***
Clearing out old flags for reporting purposes. Chris Lalancette