qvm-tools: update qvm-trim-template for R3 block attach api

This commit is contained in:
Marek Marczykowski-Górecki 2015-07-22 05:46:12 +02:00
parent 39379364c7
commit 4a01c53787
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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')