Skip to contentSkip to conversation

tests/vm: default to using a snapshot

PATCH New Paolo Bonzini 1 participant 1 message May 22, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/vm: default to using a snapshot

This will allow running the tests in Patchew, which has two runners that might choose concurrently the same VM build for two different series.

---
 tests/vm/Makefile.include | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/vm/Makefile.include +1 -1
index 992d823f6b..ae5dbdad6c 100644
@@ -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)) \
Signature · 1 line
2.21.0