This makes the long qemu command line in the log *alot* more readable.
Signed-off-by: Gerd Hoffmann <[email protected]>
---
client/virt/kvm_vm.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/client/virt/kvm_vm.py b/client/virt/kvm_vm.py
index a5e596b..5f95180 100644
--- a/client/virt/kvm_vm.py
+++ b/client/virt/kvm_vm.py
@@ -1599,7 +1599,9 @@ class VM(virt_vm.BaseVM):
logging.info,
"[9p proxy helper]")
- logging.info("Running qemu command:\n%s", qemu_command)
+ logging.info("Running qemu command:\n")
+ for item in qemu_command.replace(" -", " \\\n -").splitlines():
+ logging.info("%s", item)
self.process = aexpect.run_bg(qemu_command, None,
logging.info, "[qemu output] ")
--
1.7.1
_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel