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

2017-05-29 Thread Markus Armbruster
Eduardo Habkost writes: > On Tue, May 23, 2017 at 04:23:08PM +0200, Markus Armbruster wrote: >> 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,

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

2017-05-25 Thread Eduardo Habkost
On Tue, May 23, 2017 at 04:23:08PM +0200, Markus Armbruster wrote: > 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

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

2017-05-23 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 Looks harmless enough. Hav

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

2017-05-12 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