summary refs log tree commit diff stats
path: root/scripts/simpletrace.py
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2017-05-26 15:11:58 -0300
committerEduardo Habkost <ehabkost@redhat.com>2017-06-05 14:59:09 -0300
commit37bbcd575745d9bea4f840164e75dd2f40e5ee91 (patch)
tree5e6e9a44cfd013d8d09fcdd43c030cdfdaffd4d6 /scripts/simpletrace.py
parent99861ecbc53c705fff5e4ea774f0da1193e81da8 (diff)
downloadfocaccia-qemu-37bbcd575745d9bea4f840164e75dd2f40e5ee91.tar.gz
focaccia-qemu-37bbcd575745d9bea4f840164e75dd2f40e5ee91.zip
qemu.py: Don't set _popen=None on error/shutdown
Keep the Popen object around to we can query its exit code later.

To keep the existing 'self._popen is None' checks working, add a
is_running() method, that will check if the process is still running.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20170526181200.17227-2-ehabkost@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'scripts/simpletrace.py')
0 files changed, 0 insertions, 0 deletions