john.levon@sun.com
2008-Mar-11 21:30 UTC
[Xen-devel] [PATCH] Allow libvirt to specify force, rm_cfg
# HG changeset patch # User john.levon@sun.com # Date 1205267286 25200 # Node ID 0e070c63a5ce10cc67431b6c239d085676ce2258 # Parent af2f196422b6d9d90aa1b37da7f4bc699cee7dd9 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@sun.com> diff --git a/tools/python/xen/xend/server/SrvDomain.py b/tools/python/xen/xend/server/SrvDomain.py --- a/tools/python/xen/xend/server/SrvDomain.py +++ b/tools/python/xen/xend/server/SrvDomain.py @@ -186,7 +186,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-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Apparently Analagous Threads
- [PATCH] Remove unimplemented xm migrate --resource option
- [BUG, PATCH] xen-4.1-3 xend/XendDomainInfo.py#device_configure() TypeError
- [PATCH] sedf get in XendClient API
- [PATCH] 3/4 "nemesis" scheduling domains for Xen
- virtman breaks after installing XEN 3.1 on SELS 10.1