]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
tests/avocado/machine_aarch64_sbsaref.py: allow for rw usage of image
authorCleber Rosa <crosa@redhat.com>
Fri, 30 Aug 2024 13:37:57 +0000 (15:37 +0200)
committerThomas Huth <thuth@redhat.com>
Wed, 4 Sep 2024 08:51:46 +0000 (10:51 +0200)
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>
tests/avocado/machine_aarch64_sbsaref.py

index 756f316ac9b28819ba02e30c31770020ff6fd69d..f8bf40c1929b50c3f2e61780789b486c27e8857e 100644 (file)
@@ -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()