[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 03/11] tests/vm: run test builds on snapshot
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH v4 03/11] tests/vm: run test builds on snapshot |
Date: |
Mon, 17 Jun 2019 06:38:50 +0200 |
The build script doesn't shutdown the guest VMs properly,
which results in filesystem corruption and guest boot
failures sooner or later.
Use the --snapshot to run builds on a snapshot,
That way killing the VM doesn't corrupt the base image.
Signed-off-by: Gerd Hoffmann <address@hidden>
Tested-by: Thomas Huth <address@hidden>
---
tests/vm/Makefile.include | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/vm/Makefile.include b/tests/vm/Makefile.include
index c59411bee012..276b870216c4 100644
--- a/tests/vm/Makefile.include
+++ b/tests/vm/Makefile.include
@@ -57,6 +57,7 @@ vm-build-%: $(IMAGES_DIR)/%.img
$(if $(V),--verbose) \
--image "$<" \
$(if $(BUILD_TARGET),--build-target $(BUILD_TARGET)) \
+ --snapshot \
--build-qemu $(SRC_PATH) -- \
$(if $(TARGET_LIST),--target-list=$(TARGET_LIST)) \
$(if $(EXTRA_CONFIGURE_OPTS),$(EXTRA_CONFIGURE_OPTS)), \
--
2.18.1
- [Qemu-devel] [PATCH v4 00/11] tests/vm: serial console autoinstall, misc fixes., Gerd Hoffmann, 2019/06/17
- [Qemu-devel] [PATCH v4 01/11] tests/vm: send proxy environment variables over ssh, Gerd Hoffmann, 2019/06/17
- [Qemu-devel] [PATCH v4 11/11] tests/vm: ubuntu.i386: apt proxy setup, Gerd Hoffmann, 2019/06/17
- [Qemu-devel] [PATCH v4 02/11] tests/vm: use ssh with pty unconditionally, Gerd Hoffmann, 2019/06/17
- [Qemu-devel] [PATCH v4 03/11] tests/vm: run test builds on snapshot,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH v4 04/11] tests/vm: proper guest shutdown, Gerd Hoffmann, 2019/06/17
- [Qemu-devel] [PATCH v4 06/11] tests/vm: serial console support helpers, Gerd Hoffmann, 2019/06/17
- [Qemu-devel] [PATCH v4 05/11] tests/vm: add vm-boot-{ssh, serial}-<guest> targets, Gerd Hoffmann, 2019/06/17
- [Qemu-devel] [PATCH v4 10/11] tests/vm: fedora autoinstall, using serial console, Gerd Hoffmann, 2019/06/17
- [Qemu-devel] [PATCH v4 07/11] tests/vm: openbsd autoinstall, using serial console, Gerd Hoffmann, 2019/06/17