From: Emanuele Giuseppe Esposito Date: Mon, 9 Aug 2021 09:01:01 +0000 (+0200) Subject: python: qemu: pass the wrapper field from QEMUQtestmachine to QEMUMachine X-Git-Tag: v6.2.0-rc0~121^2~53 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=804f7695e535da902c1c5159cf53756f182aceb4;p=thirdparty%2Fqemu.git python: qemu: pass the wrapper field from QEMUQtestmachine to QEMUMachine Signed-off-by: Emanuele Giuseppe Esposito Reviewed-by: Vladimir Sementsov-Ogievskiy Reviewed-by: John Snow Reviewed-by: Max Reitz Acked-by: John Snow Message-Id: <20210809090114.64834-4-eesposit@redhat.com> Signed-off-by: Hanna Reitz --- diff --git a/python/qemu/machine/qtest.py b/python/qemu/machine/qtest.py index 592be263e05..395cc8fbfe9 100644 --- a/python/qemu/machine/qtest.py +++ b/python/qemu/machine/qtest.py @@ -112,6 +112,7 @@ class QEMUQtestMachine(QEMUMachine): def __init__(self, binary: str, args: Sequence[str] = (), + wrapper: Sequence[str] = (), name: Optional[str] = None, base_temp_dir: str = "/var/tmp", socket_scm_helper: Optional[str] = None, @@ -123,7 +124,8 @@ class QEMUQtestMachine(QEMUMachine): name = "qemu-%d" % os.getpid() if sock_dir is None: sock_dir = base_temp_dir - super().__init__(binary, args, name=name, base_temp_dir=base_temp_dir, + super().__init__(binary, args, wrapper=wrapper, name=name, + base_temp_dir=base_temp_dir, socket_scm_helper=socket_scm_helper, sock_dir=sock_dir, qmp_timer=qmp_timer) self._qtest: Optional[QEMUQtestProtocol] = None