summaryrefslogtreecommitdiffstats
path: root/scripts/modules/module_block.py
diff options
context:
space:
mode:
authorEduardo Habkost2017-05-26 20:11:58 +0200
committerEduardo Habkost2017-06-05 19:59:09 +0200
commit37bbcd575745d9bea4f840164e75dd2f40e5ee91 (patch)
tree5e6e9a44cfd013d8d09fcdd43c030cdfdaffd4d6 /scripts/modules/module_block.py
parentspapr: cleanup spapr_fixup_cpu_numa_dt() usage (diff)
downloadqemu-37bbcd575745d9bea4f840164e75dd2f40e5ee91.tar.gz
qemu-37bbcd575745d9bea4f840164e75dd2f40e5ee91.tar.xz
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/modules/module_block.py')
0 files changed, 0 insertions, 0 deletions