diff mbox series

tests/vm: default to using a snapshot

Message ID 20190522090017.27007-1-pbonzini@redhat.com
State New
Headers show
Series tests/vm: default to using a snapshot | expand

Commit Message

Paolo Bonzini May 22, 2019, 9 a.m. UTC
This will allow running the tests in Patchew, which has two runners
that might choose concurrently the same VM build for two different
series.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 tests/vm/Makefile.include | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tests/vm/Makefile.include b/tests/vm/Makefile.include
index 992d823f6b..ae5dbdad6c 100644
--- a/tests/vm/Makefile.include
+++ b/tests/vm/Makefile.include
@@ -51,7 +51,7 @@  vm-build-%: $(IMAGES_DIR)/%.img
 		$(if $(DEBUG), --interactive) \
 		$(if $(J),--jobs $(J)) \
 		$(if $(V),--verbose) \
-		--image "$<" \
+		--image "$<" --snapshot \
 		$(if $(BUILD_TARGET),--build-target $(BUILD_TARGET)) \
 		--build-qemu $(SRC_PATH) -- \
 		$(if $(TARGET_LIST),--target-list=$(TARGET_LIST)) \