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>
This commit is contained in:
Keir Fraser committed 2008-03-18 11:31:39 +00:00
1 parent b9d1950675
commit 83d6140b39
1 file changed
+3 -1
+3 -1
View File
@@ -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):
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.