From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:39055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxGhz-0003rQ-HP for qemu-devel@nongnu.org; Fri, 22 Feb 2019 14:42:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gxGhy-00089m-SD for qemu-devel@nongnu.org; Fri, 22 Feb 2019 14:42:07 -0500 From: Cleber Rosa Date: Fri, 22 Feb 2019 14:41:42 -0500 Message-Id: <20190222194146.13102-4-crosa@redhat.com> In-Reply-To: <20190222194146.13102-1-crosa@redhat.com> References: <20190222194146.13102-1-crosa@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL 3/7] scripts/qemu.py: log QEMU launch command line List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , qemu-devel@nongnu.org Cc: Eduardo Habkost , Fam Zheng , qemu-block@nongnu.org, Kevin Wolf , Max Reitz , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Cleber Rosa , Markus Armbruster , Caio Carrara Even when the launch of QEMU succeeds, it's useful to have the command line recorded. Reviewed-by: Caio Carrara Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Alex Benn=C3=A9e Signed-off-by: Cleber Rosa Message-Id: <20190202005610.24048-2-crosa@redhat.com> Signed-off-by: Cleber Rosa --- python/qemu/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/qemu/__init__.py b/python/qemu/__init__.py index 38de3e9177..585cd2a1a3 100644 --- a/python/qemu/__init__.py +++ b/python/qemu/__init__.py @@ -321,6 +321,7 @@ class QEMUMachine(object): self._pre_launch() self._qemu_full_args =3D (self._wrapper + [self._binary] + self._base_args() + self._args) + LOG.debug('VM launch command: %r', ' '.join(self._qemu_full_args= )) self._popen =3D subprocess.Popen(self._qemu_full_args, stdin=3Ddevnull, stdout=3Dself._qemu_log_file, --=20 2.20.1