]> Git Repo - qemu.git/commitdiff
python: qemu: pass the wrapper field from QEMUQtestmachine to QEMUMachine
authorEmanuele Giuseppe Esposito <[email protected]>
Mon, 9 Aug 2021 09:01:01 +0000 (11:01 +0200)
committerHanna Reitz <[email protected]>
Wed, 1 Sep 2021 10:57:31 +0000 (12:57 +0200)
Signed-off-by: Emanuele Giuseppe Esposito <[email protected]>
Reviewed-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Reviewed-by: John Snow <[email protected]>
Reviewed-by: Max Reitz <[email protected]>
Acked-by: John Snow <[email protected]>
Message-Id: <20210809090114[email protected]>
Signed-off-by: Hanna Reitz <[email protected]>
python/qemu/machine/qtest.py

index 592be263e054e0ee2a3722c7a00fb18378dd5872..395cc8fbfe9e2e1feb79d9bc74437124439cfdb2 100644 (file)
@@ -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
This page took 0.026626 seconds and 4 git commands to generate.