[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 07/19] tests/vm: run test builds on snapshot
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PULL 07/19] tests/vm: run test builds on snapshot |
Date: |
Mon, 24 Jun 2019 14:43:25 +0100 |
From: Gerd Hoffmann <address@hidden>
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>
Acked-by: Ed Maste <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
[AJB: added tags]
Signed-off-by: Alex Bennée <address@hidden>
diff --git a/tests/vm/Makefile.include b/tests/vm/Makefile.include
index c59411bee0..276b870216 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.20.1
- [Qemu-devel] [PULL 06/19] tests/vm: use ssh with pty unconditionally, (continued)
- [Qemu-devel] [PULL 06/19] tests/vm: use ssh with pty unconditionally, Alex Bennée, 2019/06/24
- [Qemu-devel] [PULL 03/19] tests/vm: pin ubuntu.i386 image, Alex Bennée, 2019/06/24
- [Qemu-devel] [PULL 05/19] tests/vm: send proxy environment variables over ssh, Alex Bennée, 2019/06/24
- [Qemu-devel] [PULL 08/19] tests/vm: proper guest shutdown, Alex Bennée, 2019/06/24
- [Qemu-devel] [PULL 19/19] target/i386: fix feature check in hyperv-stub.c, Alex Bennée, 2019/06/24
- [Qemu-devel] [PULL 10/19] tests/vm: serial console support helpers, Alex Bennée, 2019/06/24
- [Qemu-devel] [PULL 11/19] tests/vm: openbsd autoinstall, using serial console, Alex Bennée, 2019/06/24
- [Qemu-devel] [PULL 04/19] tests/vm: add source repos on ubuntu.i386, Alex Bennée, 2019/06/24
- [Qemu-devel] [PULL 18/19] Makefile: Rename the 'vm-test' target as 'vm-help', Alex Bennée, 2019/06/24
- [Qemu-devel] [PULL 01/19] tests/vm: avoid extra compressed image copy, Alex Bennée, 2019/06/24
- [Qemu-devel] [PULL 07/19] tests/vm: run test builds on snapshot,
Alex Bennée <=
- [Qemu-devel] [PULL 12/19] tests/vm: freebsd autoinstall, using serial console, Alex Bennée, 2019/06/24
- [Qemu-devel] [PULL 09/19] tests/vm: add vm-boot-{ssh, serial}-<guest> targets, Alex Bennée, 2019/06/24
- [Qemu-devel] [PULL 17/19] .travis.yml: force a brew update for MacOS builds, Alex Bennée, 2019/06/24
- [Qemu-devel] [PULL 02/19] tests/vm: avoid image presence check and removal, Alex Bennée, 2019/06/24
- [Qemu-devel] [PULL 14/19] tests/vm: fedora autoinstall, using serial console, Alex Bennée, 2019/06/24
- [Qemu-devel] [PULL 16/19] .travis.yml: default the --disable-system build to --static, Alex Bennée, 2019/06/24
- [Qemu-devel] [PULL 13/19] tests/vm: netbsd autoinstall, using serial console, Alex Bennée, 2019/06/24
- [Qemu-devel] [PULL 15/19] tests/vm: ubuntu.i386: apt proxy setup, Alex Bennée, 2019/06/24