mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
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:
1 parent
70efc627d2
commit
f39983e1f6
1 file changed
+1
@@ -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):
|
||||
|
||||