diff options
| author | Eduardo Habkost <ehabkost@redhat.com> | 2017-05-26 15:11:58 -0300 |
|---|---|---|
| committer | Eduardo Habkost <ehabkost@redhat.com> | 2017-06-05 14:59:09 -0300 |
| commit | 37bbcd575745d9bea4f840164e75dd2f40e5ee91 (patch) | |
| tree | 5e6e9a44cfd013d8d09fcdd43c030cdfdaffd4d6 /scripts/simpletrace.py | |
| parent | 99861ecbc53c705fff5e4ea774f0da1193e81da8 (diff) | |
| download | focaccia-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