qvm-tools: update qvm-trim-template for R3 block attach api
This commit is contained in:
parent
39379364c7
commit
4a01c53787
@ -118,7 +118,12 @@ def main():
|
|||||||
''')
|
''')
|
||||||
fstrim_process.stdin.close()
|
fstrim_process.stdin.close()
|
||||||
|
|
||||||
qubesutils.block_attach(fstrim_vm, qvm_collection[0], tvm.root_img,
|
qubesutils.block_attach(qvm_collection, fstrim_vm,
|
||||||
|
{
|
||||||
|
'vm': 'dom0',
|
||||||
|
'device': tvm.root_img,
|
||||||
|
'mode': 'w',
|
||||||
|
},
|
||||||
mode='w',
|
mode='w',
|
||||||
frontend='xvdi')
|
frontend='xvdi')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user