dom0/qvm-usb: use xs transaction
This commit is contained in:
parent
0ef88be16d
commit
c8cb9d00ce
@ -423,7 +423,7 @@ def usb_list():
|
||||
devices_list = {}
|
||||
|
||||
xs_trans = xs.transaction_start()
|
||||
vm_list = xs.ls('', '/local/domain')
|
||||
vm_list = xs.ls(xs_trans, '/local/domain')
|
||||
|
||||
for xid in vm_list:
|
||||
vm_name = xs.read(xs_trans, '/local/domain/%s/name' % xid)
|
||||
|
Loading…
Reference in New Issue
Block a user