On Tue, May 23, 2017 at 04:23:08PM +0200, Markus Armbruster wrote: > Eduardo Habkost <ehabk...@redhat.com> 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 <ehabk...@redhat.com> > > Looks harmless enough. Have you tested the scripts using this module > still work?
Now I did. :) I see only two users of qemu.py and qtest.py: tests/migration/guestperf/engine.py:import qemu tests/qemu-iotests/iotests.py:import qtest I just tested both using: $ make check-tests/qemu-iotests-quick.sh $ make tests/migration/initrd-stress.img PTHREAD_LIB=-pthread $ ./tests/migration/guestperf.py > /tmp/guestperf.json and they seem to be working. (It looks like there's no Makefile rule to run guestperf.py) BTW, it seems to be impossible to build initrd-stress.img on a out-of-tree build. I had to run ./configure inside the source tree to be able to run guestperf.py. -- Eduardo