aboutsummaryrefslogtreecommitdiff
path: root/tests/avocado/avocado_qemu
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2024-09-03 07:13:33 +0200
committerThomas Huth <thuth@redhat.com>2024-09-11 09:49:12 +0200
commit69e4fbd0ea22d8cc6421fe2e9f09dfa4be242ccf (patch)
tree72ed91186a21397c841a6569daa0a42bed42409b /tests/avocado/avocado_qemu
parent3a07875fd3855f3dff04b01168513b420a1ae77a (diff)
downloadqemu-69e4fbd0ea22d8cc6421fe2e9f09dfa4be242ccf.zip
qemu-69e4fbd0ea22d8cc6421fe2e9f09dfa4be242ccf.tar.gz
qemu-69e4fbd0ea22d8cc6421fe2e9f09dfa4be242ccf.tar.bz2
tests/functional: Convert the multiprocess avocado test into a standalone test
This test handles both, aarch64 and x86_64, with the same test code (apart from some initial setup), so don't split this file by target but add a check for self.arch in the main test function. Message-ID: <20240903051333.102494-1-thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/avocado/avocado_qemu')
-rw-r--r--tests/avocado/avocado_qemu/__init__.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/avocado/avocado_qemu/__init__.py b/tests/avocado/avocado_qemu/__init__.py
index 0e4ecea..93c3460 100644
--- a/tests/avocado/avocado_qemu/__init__.py
+++ b/tests/avocado/avocado_qemu/__init__.py
@@ -307,16 +307,6 @@ class QemuSystemTest(QemuBaseTest):
if netdevhelp.find('\n' + netdevname + '\n') < 0:
self.cancel('no support for user networking')
- def require_multiprocess(self):
- """
- Test for the presence of the x-pci-proxy-dev which is required
- to support multiprocess.
- """
- devhelp = run_cmd([self.qemu_bin,
- '-M', 'none', '-device', 'help'])[0];
- if devhelp.find('x-pci-proxy-dev') < 0:
- self.cancel('no support for multiprocess device emulation')
-
def _new_vm(self, name, *args):
self._sd = tempfile.TemporaryDirectory(prefix="qemu_")
vm = QEMUMachine(self.qemu_bin, base_temp_dir=self.workdir,