From nobody Mon Feb 9 10:51:40 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=google.com ARC-Seal: i=1; a=rsa-sha256; t=1654811009; cv=none; d=zohomail.com; s=zohoarc; b=b09XxF/BV96+raErDAzSzwrZUrGD7baSEi/5gEtanKcwvC01o4gQl0jidPoqL3SspRnfG5kW0NdtcQtAQfCvfufb8if+JpK6Vd+zSl/N+s3ZacArueMN8+wWDv/5hfccKJhTV4OyffIneTq+6yCZor3oJNa1eeLgyr2RoNLNxZw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1654811009; h=Content-Type:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=+fhVv/HkKL9POu6/6BiCdonPJbGD2u6DpfYLTcqsi9A=; b=QaMtiu6YpzlOW1QCUmJiWxKROqIG0thYdyyV8/97+immTe4306eyE8+Vvu9dfE6ItRNq2TknhJWtKVsSbDMybsFaT7IBfITuC9uD23zGEY7zeQMfENmJ9UdLr3aBbP1cYOJJr9cdX0m6KowzafiPL6QVeFxcZnTNCROqNXkRbOM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1654811009435328.828190715391; Thu, 9 Jun 2022 14:43:29 -0700 (PDT) Received: from localhost ([::1]:43764 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzPw7-0008EW-Lf for importer@patchew.org; Thu, 09 Jun 2022 17:43:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56660) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <3GmmiYggKCpEHF2v9ED219916z.x97Bz7F-yzGz689818F.9C1@flex--wuhaotsh.bounces.google.com>) id 1nzPua-0007KJ-7S for qemu-devel@nongnu.org; Thu, 09 Jun 2022 17:41:52 -0400 Received: from mail-pg1-x54a.google.com ([2607:f8b0:4864:20::54a]:45972) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <3GmmiYggKCpEHF2v9ED219916z.x97Bz7F-yzGz689818F.9C1@flex--wuhaotsh.bounces.google.com>) id 1nzPuX-0002y0-JN for qemu-devel@nongnu.org; Thu, 09 Jun 2022 17:41:51 -0400 Received: by mail-pg1-x54a.google.com with SMTP id y63-20020a638a42000000b003fd47b6f280so8476123pgd.12 for ; Thu, 09 Jun 2022 14:41:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:message-id:mime-version:subject:from:to:cc; bh=+fhVv/HkKL9POu6/6BiCdonPJbGD2u6DpfYLTcqsi9A=; b=fsOH2uzRFr5AuJzWP2PvIpv1cuc1OUbQBkPPRx/G+z5BWlGtaah1birIftg7O2vBxn 0RMUmWqmZ8RmvmPOD2a4SKTCDFxDS1h/A0+hoeHE+LrFTdFlMwTDwBKtWUGsxBOmWsQG Y7Csv2jJy0/46cfbLM7cHbH7dTKwi8AR+qxdHCqC3s8xibzjiA2OzOC3lZZcTB4W+LTU UG9PknK4X9S1Tvb+QxDiRolL2I/f23JGrczm/FM3sSFvMfyWgaYwiTFW6IaAQ7gHNhhQ iOv3EtkvruImxYgA28qbSkDve8pQOHoSrTraFeZg2b1dxrBqSM8VfpGf5eirG+FFt52S mWvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=+fhVv/HkKL9POu6/6BiCdonPJbGD2u6DpfYLTcqsi9A=; b=6nAgVmktS/iAYRYLAjAql7pRUhwPDA+eN5iVLiMXSQCPN1PptghhuPlbaTFOCT5EGb MBmj+ZBsmjzJkqHwYpWPIo5WJAHwsqbmbmLDWNffNIckwDBs5bxHA80Se5GHYK+NZGjJ 8zC7woW4tm3P/kRT/ootBjaXSudmWD7byJxiz+TxsZofOVYaA+SjrL6ax3RdDKImfSpK 2a0KjzVjZ9ksq0EjqZEPi33Pt/ZiaKAd/Sq3Iy58KwnteTo4CSqRUcMM+M4haexwmnJE ZbaNRP2Ref/A5zOLoNJg4lGa8jHURvEGh7YMt6lR9OVeOyxceR8tk0FnHi5xYnG+aU3E i1yQ== X-Gm-Message-State: AOAM531y64+E3MEwSgRBDy4r4wcVRPyqp4c/bv/0BJFZk+05p4JRl3MY D5OiSgll19mBCOzLnTEI/jCQasfGGEldfg== X-Google-Smtp-Source: ABdhPJwf26qBGg65346nIzuMefIE+mwLkDHbUnACtSGNUGtpzfFDi/nUkJAvVM5EA65e2uA10v4ISvRvnr8MnQ== X-Received: from mimik.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:4e]) (user=wuhaotsh job=sendgmr) by 2002:a17:902:d4cf:b0:167:735a:e7a1 with SMTP id o15-20020a170902d4cf00b00167735ae7a1mr25207966plg.161.1654810906698; Thu, 09 Jun 2022 14:41:46 -0700 (PDT) Date: Thu, 9 Jun 2022 14:41:25 -0700 Message-Id: <20220609214125.4192212-1-wuhaotsh@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.36.1.476.g0c4daa206d-goog Subject: [PATCH] tests/qtest: Reduce npcm7xx_sdhci test image size From: Hao Wu To: peter.maydell@linaro.org Cc: qemu-arm@nongnu.org, qemu-devel@nongnu.org, wuhaotsh@google.com, venture@google.com, Avi.Fishman@nuvoton.com, kfting@nuvoton.com, hskinnemoen@google.com, f4bug@amsat.org, bin.meng@windriver.com, qemu-block@nongnu.org, stmao@google.com, richard.henderson@linaro.org, jsnow@redhat.com, lvivier@redhat.com, pbonzini@redhat.com, thuth@redhat.com Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::54a; envelope-from=3GmmiYggKCpEHF2v9ED219916z.x97Bz7F-yzGz689818F.9C1@flex--wuhaotsh.bounces.google.com; helo=mail-pg1-x54a.google.com X-Spam_score_int: -95 X-Spam_score: -9.6 X-Spam_bar: --------- X-Spam_report: (-9.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, USER_IN_DEF_DKIM_WL=-7.5 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @google.com) X-ZM-MESSAGEID: 1654811010983100001 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Creating 1GB image for a simple qtest is unnecessary and could lead to failures. We reduce the image size to 1MB to reduce the test overhead. Signed-off-by: Hao Wu Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- tests/qtest/npcm7xx_sdhci-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qtest/npcm7xx_sdhci-test.c b/tests/qtest/npcm7xx_sdhci-t= est.c index aa35a77e8d..5d68540e52 100644 --- a/tests/qtest/npcm7xx_sdhci-test.c +++ b/tests/qtest/npcm7xx_sdhci-test.c @@ -24,7 +24,7 @@ #define NPCM7XX_REG_SIZE 0x100 #define NPCM7XX_MMC_BA 0xF0842000 #define NPCM7XX_BLK_SIZE 512 -#define NPCM7XX_TEST_IMAGE_SIZE (1 << 30) +#define NPCM7XX_TEST_IMAGE_SIZE (1 << 20) =20 char *sd_path; =20 --=20 2.36.1.476.g0c4daa206d-goog