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 --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)) \
--
2.21.0