Hack xm block-detach to remove tap disks as well as vbds.

This isn't very pretty -- a better solution would be nice.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
Ewan Mellor committed 2006-12-13 20:43:47 +00:00
1 parent 70efc627d2
commit f39983e1f6
1 file changed
+1
+1
View File
@@ -1510,6 +1510,7 @@ def detach(args, command, deviceClass):
def xm_block_detach(args):
detach(args, 'block-detach', 'vbd')
detach(args, 'block-detach', 'tap')
def xm_network_detach(args):
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.