qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/2] scripts/qemu.py fixes and cleanups
@ 2017-07-24 12:44 Amador Pahim
  2017-07-24 12:44 ` [Qemu-devel] [PATCH v4 1/2] qemu.py: make 'args' public Amador Pahim
  2017-07-24 12:44 ` [Qemu-devel] [PATCH v4 2/2] qemu.py: cleanup and fixes Amador Pahim
  0 siblings, 2 replies; 12+ messages in thread
From: Amador Pahim @ 2017-07-24 12:44 UTC (permalink / raw)
  To: qemu-devel
  Cc: famz, berrange, ehabkost, mreitz, kwolf, armbru, crosa, ldoktor,
	Amador Pahim

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-07-27 15:16 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-24 12:44 [Qemu-devel] [PATCH v4 0/2] scripts/qemu.py fixes and cleanups Amador Pahim
2017-07-24 12:44 ` [Qemu-devel] [PATCH v4 1/2] qemu.py: make 'args' public Amador Pahim
2017-07-25 13:37   ` Stefan Hajnoczi
2017-07-25 14:41     ` Amador Pahim
2017-07-25 15:30     ` Cleber Rosa
2017-07-26 17:35       ` Stefan Hajnoczi
2017-07-26 18:34         ` Cleber Rosa
2017-07-27  7:39         ` Amador Pahim
2017-07-27 15:15           ` Amador Pahim
2017-07-24 12:44 ` [Qemu-devel] [PATCH v4 2/2] qemu.py: cleanup and fixes Amador Pahim
2017-07-25 13:45   ` Stefan Hajnoczi
2017-07-25 14:45     ` Amador Pahim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).