From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5BCB6C31E5B for ; Wed, 19 Jun 2019 19:56:58 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2FDC920B1F for ; Wed, 19 Jun 2019 19:56:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="JBAffJZG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2FDC920B1F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:41508 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdghV-0003GM-EZ for qemu-devel@archiver.kernel.org; Wed, 19 Jun 2019 15:56:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53944) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdgRc-0006AA-Kh for qemu-devel@nongnu.org; Wed, 19 Jun 2019 15:40:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdgRa-000098-Rl for qemu-devel@nongnu.org; Wed, 19 Jun 2019 15:40:32 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:32868) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hdgRZ-00006K-K2 for qemu-devel@nongnu.org; Wed, 19 Jun 2019 15:40:30 -0400 Received: by mail-wr1-x42a.google.com with SMTP id n9so528650wru.0 for ; Wed, 19 Jun 2019 12:40:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+wqq4GBFQwrMJ04FlDJ+2L8IS0oLTrKe+hT5DciI8mk=; b=JBAffJZGJkFH+KR0qxTHczfggE5KA8gE60L7XjGcbcFnlOJp8KCCErxUxkN0CnsdJu 9G+kZHo485AOxm+xFbqAaDS8gwfkSOaMjzCEd80+c/DjSFKp9GF6Lyxezue2EXiOb7IA 072gwJrYsVoFrvNej8gq/r9sfzXak+Mpof/tS0/cxPc4Nx0aWAN/8q1X4HsGZJF7jI2D kAgeAm30jJssYrgU0kVJktIZ6UhXcAQUkSsd8PuJGvOHrjeIdLO98b6WVmDHC1svdhDJ ZZO7jr41HkfdxeO46Qpkfgaec46fk5l9AIRreAzbbLQhTb0vj8IjLxYrfNPVUaukwWgK EPTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+wqq4GBFQwrMJ04FlDJ+2L8IS0oLTrKe+hT5DciI8mk=; b=k6zbQJZMy3Yt8RON6TRr0JpT1qs6Enau8wiNksm1A/oic20whvaljzapUqaIHXReqF 66Bs8Rk5oE2fDLCInKSyYJVigP6ZDQepmpBkr/lcRsDCmbwc0JZHLF77cMXcsglGFPyk zC/lYnw2rJKrKG6yT2Nt4XClzWQCWqMXhd2NKBw4lDD4lMMQdNToND/WWO9sQQX/B3Nv kMVMIL62kV7tFh1HqsLiu3qdUQvBeDc1Eh3qJ9mroA25oQenIwdOCSFJx/td5+tFnO4f kJddeVJsu+7WsemE9KqVHAsk6i+C/1Z1RWDLpkGieyvdmJcW5DDK28C/93/3zDj2r7Bj es/w== X-Gm-Message-State: APjAAAUiCklwo4WhBHWqjh1qubvzrhMSBbfbrbVhoZAm6n3nH2T31UK5 /0OrR8YFnyPyNUig/xQoRd3cIA== X-Google-Smtp-Source: APXvYqxbdgnf51WIen5ArtHQyCo3PGoecalB+HW0svrxBvH/r+WjQ4BPoS71gIe7SLNUQ0DrTmRbWw== X-Received: by 2002:adf:ce8f:: with SMTP id r15mr76694975wrn.122.1560973227907; Wed, 19 Jun 2019 12:40:27 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id h21sm1393459wmb.47.2019.06.19.12.40.23 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 19 Jun 2019 12:40:26 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 0E50D1FF96; Wed, 19 Jun 2019 20:40:22 +0100 (BST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Wed, 19 Jun 2019 20:40:11 +0100 Message-Id: <20190619194021.8240-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190619194021.8240-1-alex.bennee@linaro.org> References: <20190619194021.8240-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42a Subject: [Qemu-devel] [PATCH v1 07/17] tests/vm: run test builds on snapshot X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , Thomas Huth , Ed Maste , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Gerd Hoffmann , =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" From: Gerd Hoffmann 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 Tested-by: Thomas Huth Acked-by: Ed Maste Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Message-Id: <20190617043858.8290-4-kraxel@redhat.com> [AJB: added tags] Signed-off-by: Alex Bennée --- tests/vm/Makefile.include | 1 + 1 file changed, 1 insertion(+) 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