[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 02/40] tests/avocado: use snapshot=on in kvm_xen_guest
From: |
Alex Bennée |
Subject: |
[PATCH 02/40] tests/avocado: use snapshot=on in kvm_xen_guest |
Date: |
Thu, 21 Dec 2023 10:37:40 +0000 |
This ensures the rootfs is never permanently changed as we don't need
persistence between tests anyway.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/avocado/kvm_xen_guest.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/avocado/kvm_xen_guest.py b/tests/avocado/kvm_xen_guest.py
index 5391283113e..f8cb458d5db 100644
--- a/tests/avocado/kvm_xen_guest.py
+++ b/tests/avocado/kvm_xen_guest.py
@@ -59,7 +59,7 @@ def common_vm_setup(self):
def run_and_check(self):
self.vm.add_args('-kernel', self.kernel_path,
'-append', self.kernel_params,
- '-drive',
f"file={self.rootfs},if=none,format=raw,id=drv0",
+ '-drive',
f"file={self.rootfs},if=none,snapshot=on,format=raw,id=drv0",
'-device', 'xen-disk,drive=drv0,vdev=xvda',
'-device', 'virtio-net-pci,netdev=unet',
'-netdev', 'user,id=unet,hostfwd=:127.0.0.1:0-:22')
--
2.39.2
- [PATCH 00/40] testing and plugin updates for 9.0, Alex Bennée, 2023/12/21
- [PATCH 01/40] tests/avocado: Add a test for a little-endian microblaze machine, Alex Bennée, 2023/12/21
- [PATCH 02/40] tests/avocado: use snapshot=on in kvm_xen_guest,
Alex Bennée <=
- [PATCH 05/40] qtest: bump min meson timeout to 60 seconds, Alex Bennée, 2023/12/21
- [PATCH 07/40] qtest: bump qom-test timeout to 15 minutes, Alex Bennée, 2023/12/21
- [PATCH 06/40] qtest: bump migration-test timeout to 8 minutes, Alex Bennée, 2023/12/21
- [PATCH 04/40] chardev: use bool for fe_is_open, Alex Bennée, 2023/12/21
- [PATCH 10/40] qtest: bump pxe-test timeout to 10 minutes, Alex Bennée, 2023/12/21
- [PATCH 08/40] qtest: bump npcm7xx_pwn-test timeout to 5 minutes, Alex Bennée, 2023/12/21
- [PATCH 03/40] gitlab: include microblazeel in testing, Alex Bennée, 2023/12/21
- [PATCH 13/40] qtest: bump qos-test timeout to 2 minutes, Alex Bennée, 2023/12/21
- [PATCH 09/40] qtest: bump test-hmp timeout to 4 minutes, Alex Bennée, 2023/12/21
- [PATCH 15/40] qtest: bump bios-table-test timeout to 9 minutes, Alex Bennée, 2023/12/21