[Libvir] [PATCH] Have xenDaemonDetachDevice() remove device configuration

Ryan Scott Ryan.Scott at Sun.COM
Tue Apr 8 20:06:12 UTC 2008

When a user runs 'virsh detach-disk' on a running domain, the disk is 
removed, but reappears after the domain is rebooted.  This seems odd, as 
someone who types detach-disk most likely wants the change to be permanent.

This patch updates the code in xenDaemonDetachDevice() to pass the 
rm_cfg flag to Xen, so that the change is committed to the domain's 
configuration file.

This change depends on a xen patch that was committed to unstable on 
March 20: 


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: detach-disk
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080408/5c658a22/attachment-0001.ksh>

More information about the libvir-list mailing list