ia64/xen-unstable

changeset 13015:c09dab67c178

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>
author Ewan Mellor <ewan@xensource.com>
date Wed Dec 13 20:43:47 2006 +0000 (2006-12-13)
parents ef5e6df3ba9e
children ac51e8f37108
files tools/python/xen/xm/main.py
line diff
     1.1 --- a/tools/python/xen/xm/main.py	Thu Dec 14 10:17:37 2006 +0000
     1.2 +++ b/tools/python/xen/xm/main.py	Wed Dec 13 20:43:47 2006 +0000
     1.3 @@ -1510,6 +1510,7 @@ def detach(args, command, deviceClass):
     1.4  
     1.5  def xm_block_detach(args):
     1.6      detach(args, 'block-detach', 'vbd')
     1.7 +    detach(args, 'block-detach', 'tap')
     1.8  
     1.9  
    1.10  def xm_network_detach(args):