Re: [Qemu-devel] [PATCH v3 1/3] qemu.py: Don't set _popen=None on error/shutdown

2017-05-29 Thread Markus Armbruster
Eduardo Habkost writes: > 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 Reviewed-by: Markus Armbrus

[Qemu-devel] [PATCH v3 1/3] qemu.py: Don't set _popen=None on error/shutdown

2017-05-26 Thread Eduardo Habkost
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 --- scripts/qemu.py | 12 +++- 1 file changed, 7 insert