Skip to content

Commit

Permalink
Fix qvm-trim-template block attach handling
Browse files Browse the repository at this point in the history
qvm-trim-template manually assemble device dict, fix it to include
also 'desc' field, as it is now checked.
Fixes ba4dec5 "qvm-block: fix checking attached status of disk image files"

(cherry picked from commit 9d1fea4)
  • Loading branch information
marmarek committed Mar 15, 2017
1 parent ee12316 commit fc3f4d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qvm-tools/qvm-trim-template
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ def main():
'vm': 'dom0',
'device': tvm.root_img,
'mode': 'w',
'desc': '',
},
mode='w',
frontend='xvdi')
Expand Down Expand Up @@ -168,4 +169,4 @@ def main():


if __name__ == "__main__":
main()
main()

0 comments on commit fc3f4d4

Please sign in to comment.