diff options
author | Amador Pahim <apahim@redhat.com> | 2017-09-01 13:28:20 +0200 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2017-09-15 20:12:00 -0300 |
commit | dab91d9aa00e41ee680524e4f6e99a1e7fe12eb2 (patch) | |
tree | f772fd4392c191f02dbfc5fa2654470d6dd5d1ec /block/qed-l2-cache.c | |
parent | 63e0ba55222476c8b96d8c45131c830e00a80eaa (diff) | |
download | qemu-dab91d9aa00e41ee680524e4f6e99a1e7fe12eb2.zip qemu-dab91d9aa00e41ee680524e4f6e99a1e7fe12eb2.tar.gz qemu-dab91d9aa00e41ee680524e4f6e99a1e7fe12eb2.tar.bz2 |
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 'block/qed-l2-cache.c')
0 files changed, 0 insertions, 0 deletions