From f18717d1922558b342dbc105d3915707fd7b330a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 17 Dec 2013 23:59:16 +0100 Subject: [PATCH] qvm-tools: update log names reported by qvm-start in debug mode --- qvm-tools/qvm-start | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qvm-tools/qvm-start b/qvm-tools/qvm-start index d89642b9..0cccd9bb 100755 --- a/qvm-tools/qvm-start +++ b/qvm-tools/qvm-start @@ -128,7 +128,9 @@ def main(): if options.debug: print >> sys.stderr, "--> Debug mode enabled. Useful logs: " print >> sys.stderr, " /var/log/xen/console/guest-%s.log" % vmname - print >> sys.stderr, " /var/log/qubes/guid.%d.log" % xid - print >> sys.stderr, " /var/log/qubes/qrexec.%d.log" % xid + if vm.type.endwith("HVM"): + print >> sys.stderr, " /var/log/xen/console/guest-%s-dm.log" % vmname + print >> sys.stderr, " /var/log/qubes/guid.%s.log" % vmname + print >> sys.stderr, " /var/log/qubes/qrexec.%s.log" % vmname main()