diff options
| author | Eduardo Habkost | 2017-05-26 20:11:58 +0200 |
|---|---|---|
| committer | Eduardo Habkost | 2017-06-05 19:59:09 +0200 |
| commit | 37bbcd575745d9bea4f840164e75dd2f40e5ee91 (patch) | |
| tree | 5e6e9a44cfd013d8d09fcdd43c030cdfdaffd4d6 /scripts/switch-timer-api | |
| parent | spapr: cleanup spapr_fixup_cpu_numa_dt() usage (diff) | |
| download | qemu-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/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
