[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 04/13] tests/vm: run test builds on snapshot
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH v2 04/13] tests/vm: run test builds on snapshot |
Date: |
Fri, 10 May 2019 12:46:24 +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>
---
tests/vm/Makefile.include | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/vm/Makefile.include b/tests/vm/Makefile.include
index 992d823f6bd2..d628e0a986f6 100644
--- a/tests/vm/Makefile.include
+++ b/tests/vm/Makefile.include
@@ -53,6 +53,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 v2 00/13] tests/vm: serial console autoinstall, misc fixes., Gerd Hoffmann, 2019/05/10
- [Qemu-devel] [PATCH v2 02/13] tests/vm: send proxy environment variables over ssh, Gerd Hoffmann, 2019/05/10
- [Qemu-devel] [PATCH v2 01/13] scripts: use git archive in archive-source, Gerd Hoffmann, 2019/05/10
- [Qemu-devel] [PATCH v2 13/13] tests/vm: ubuntu.i386: apt proxy setup, Gerd Hoffmann, 2019/05/10
- [Qemu-devel] [PATCH v2 07/13] tests/vm: add DEBUG=1 to help text, Gerd Hoffmann, 2019/05/10
- [Qemu-devel] [PATCH v2 04/13] tests/vm: run test builds on snapshot,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH v2 08/13] tests/vm: serial console support helpers, Gerd Hoffmann, 2019/05/10
- [Qemu-devel] [PATCH v2 09/13] tests/vm: openbsd autoinstall, using serial console, Gerd Hoffmann, 2019/05/10
- [Qemu-devel] [PATCH v2 10/13] tests/vm: freebsd autoinstall, using serial console, Gerd Hoffmann, 2019/05/10
- Re: [Qemu-devel] [PATCH v2 10/13] tests/vm: freebsd autoinstall, using serial console, Philippe Mathieu-Daudé, 2019/05/18
- Re: [Qemu-devel] [PATCH v2 10/13] tests/vm: freebsd autoinstall, using serial console, Gerd Hoffmann, 2019/05/20
- Re: [Qemu-devel] [PATCH v2 10/13] tests/vm: freebsd autoinstall, using serial console, Thomas Huth, 2019/05/20
- Re: [Qemu-devel] [PATCH v2 10/13] tests/vm: freebsd autoinstall, using serial console, Philippe Mathieu-Daudé, 2019/05/20
- Re: [Qemu-devel] [PATCH v2 10/13] tests/vm: freebsd autoinstall, using serial console, Gerd Hoffmann, 2019/05/20
[Qemu-devel] [PATCH v2 03/13] tests/vm: use ssh with pty unconditionally, Gerd Hoffmann, 2019/05/10
[Qemu-devel] [PATCH v2 11/13] tests/vm: netbsd autoinstall, using serial console, Gerd Hoffmann, 2019/05/10