[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Allow libvirt to specify force, rm_cfg
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1205839899 0 # Node ID d0a5386597266c61a136344e5544e62c204de0d2 # Parent ea5ee63548e4eb8ad0d1e8bd744727569e48d19b Allow libvirt to specify force, rm_cfg When doing a 'virsh detach-disk' on a running domain, the disk is not removed from the configuration file. Allow a caller to specify whether or not to change the file. Signed-off-by: Ryan Scott <ryan.scott@xxxxxxx> --- tools/python/xen/xend/server/SrvDomain.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) diff -r ea5ee63548e4 -r d0a538659726 tools/python/xen/xend/server/SrvDomain.py --- a/tools/python/xen/xend/server/SrvDomain.py Tue Mar 18 11:29:18 2008 +0000 +++ b/tools/python/xen/xend/server/SrvDomain.py Tue Mar 18 11:31:39 2008 +0000 @@ -187,7 +187,9 @@ class SrvDomain(SrvDir): def op_device_destroy(self, _, req): return self.call(self.dom.destroyDevice, [['type', 'str'], - ['dev', 'str']], + ['dev', 'str'], + ['force', 'int'], + ['rm_cfg', 'int']], req) def op_device_configure(self, _, req): _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |