From: Cleber Rosa Date: Fri, 30 Aug 2024 13:37:57 +0000 (+0200) Subject: tests/avocado/machine_aarch64_sbsaref.py: allow for rw usage of image X-Git-Tag: v9.2.0-rc0~104^2~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a14841264efcd3edd62a24b681164702b8efc86e;p=thirdparty%2Fqemu.git 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 Suggested-by: Alex Bennée Message-ID: <20240806173119.582857-9-crosa@redhat.com> Reviewed-by: Philippe Mathieu-Daudé Tested-by: Marcin Juszkiewicz Message-ID: <20240830133841.142644-4-thuth@redhat.com> Signed-off-by: Thomas Huth --- diff --git a/tests/avocado/machine_aarch64_sbsaref.py b/tests/avocado/machine_aarch64_sbsaref.py index 756f316ac9b..f8bf40c1929 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()