aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCleber Rosa <crosa@redhat.com>2024-08-30 15:37:57 +0200
committerThomas Huth <thuth@redhat.com>2024-09-04 10:51:46 +0200
commita14841264efcd3edd62a24b681164702b8efc86e (patch)
tree6ddeeaccdef07bd46ea92d5b5059218a0f77e25d
parent8dceb48e23159eda9428fc678511716c64e2da33 (diff)
downloadqemu-a14841264efcd3edd62a24b681164702b8efc86e.zip
qemu-a14841264efcd3edd62a24b681164702b8efc86e.tar.gz
qemu-a14841264efcd3edd62a24b681164702b8efc86e.tar.bz2
tests/avocado/machine_aarch64_sbsaref.py: allow for rw usage of image
When the OpenBSD based tests are run in parallel, the previously single instance of the image would become corrupt. Let's give each test its own snapshot. Signed-off-by: Cleber Rosa <crosa@redhat.com> Suggested-by: Alex Bennée <alex.bennee@linaro.org> Message-ID: <20240806173119.582857-9-crosa@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Tested-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Message-ID: <20240830133841.142644-4-thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
-rw-r--r--tests/avocado/machine_aarch64_sbsaref.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/avocado/machine_aarch64_sbsaref.py b/tests/avocado/machine_aarch64_sbsaref.py
index 756f316..f8bf40c 100644
--- a/tests/avocado/machine_aarch64_sbsaref.py
+++ b/tests/avocado/machine_aarch64_sbsaref.py
@@ -190,7 +190,7 @@ class Aarch64SbsarefMachine(QemuSystemTest):
"-cpu",
cpu,
"-drive",
- f"file={img_path},format=raw",
+ f"file={img_path},format=raw,snapshot=on",
)
self.vm.launch()