First commit renames self._args to self.args. The leading underscore represents that the variable is private and as such it should not be accessed externally. But that variable is the main API for inclusion of Qemu command arguments, so the rename makes it public.
Second commit contains some fixes and cleanups to make sure we are correctly trying to launch the VM and properly shutting it down. More details about the changes in the commit message. Changes v1->v2: - Style fixes to make checkpatch.pl happy. - Rebased. Changes v2->v3: - Fix typo in patch 3 ("qemu.py: make 'args' public") commit message. Changes v3->v4: - Squash the 2 first commits since they are co-dependant. - Cleanup launch() and shutdown(). - Reorder the commits, putting the rename of self._args first. - Rebased. Amador Pahim (2): qemu.py: make 'args' public qemu.py: cleanup and fixes scripts/qemu.py | 79 ++++++++++++++++++++++++++++--------------- tests/qemu-iotests/iotests.py | 18 +++++----- 2 files changed, 60 insertions(+), 37 deletions(-) -- 2.13.3