From 9d1fea4c7f1c422d59b5a3e83d535c07de0b6b66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Wed, 15 Mar 2017 11:42:53 +0100 Subject: [PATCH] Fix qvm-trim-template block attach handling 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" --- qvm-tools/qvm-trim-template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qvm-tools/qvm-trim-template b/qvm-tools/qvm-trim-template index d5812210..038d8310 100755 --- a/qvm-tools/qvm-trim-template +++ b/qvm-tools/qvm-trim-template @@ -134,6 +134,7 @@ def main(): 'vm': 'dom0', 'device': tvm.root_img, 'mode': 'w', + 'desc': '', }, mode='w', frontend='xvdi') @@ -168,4 +169,4 @@ def main(): if __name__ == "__main__": - main() \ No newline at end of file + main()