dom0: fix block-cleaner daemon

This commit is contained in:
Marek Marczykowski 2012-07-15 19:48:36 +02:00
parent b6b50b6fea
commit 712d122894

View File

@ -35,7 +35,7 @@ def handle_vbd_state(path):
vm_xid = path_components[6]
vm_dev = path_components[7]
if vm_xid in domain_list:
subprocess.call('xl', 'block-detach', vm_xid, vm_dev)
subprocess.call(['xl', 'block-detach', vm_xid, vm_dev])
def main():