summaryrefslogtreecommitdiffstats
path: root/scripts/tracetool/__init__.py
diff options
context:
space:
mode:
authorAmador Pahim2017-09-01 13:28:20 +0200
committerEduardo Habkost2017-09-16 01:12:00 +0200
commitdab91d9aa00e41ee680524e4f6e99a1e7fe12eb2 (patch)
treef772fd4392c191f02dbfc5fa2654470d6dd5d1ec /scripts/tracetool/__init__.py
parentqemu.py: use os.path.null instead of /dev/null (diff)
downloadqemu-dab91d9aa00e41ee680524e4f6e99a1e7fe12eb2.tar.gz
qemu-dab91d9aa00e41ee680524e4f6e99a1e7fe12eb2.tar.xz
qemu-dab91d9aa00e41ee680524e4f6e99a1e7fe12eb2.zip
qemu.py: improve message on negative exit code
The current message shows 'self._args', which contains only part of the options used in the Qemu command line. This patch makes the qemu full args list an instance variable and then uses it in the negative exit code message. Message was moved outside the 'if is_running' block to make sure it will be logged if the VM finishes before the call to shutdown(). Signed-off-by: Amador Pahim <apahim@redhat.com> Message-Id: <20170901112829.2571-5-apahim@redhat.com> [ehabkost: removed superfluous parenthesis] Reviewed-by: Fam Zheng <famz@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'scripts/tracetool/__init__.py')
0 files changed, 0 insertions, 0 deletions