[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v3 03/10] automation: qemu-smoke-arm64.sh: Increase RAM size


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Tue, 27 Sep 2022 11:47:20 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fY5JlIKf+ph5S89SuUOmRzi2nm3ceC5eVYCGsXFJMeo=; b=bnI+N7MdzMDifH8u5/4XO8gI3V6tIQDrEVWESFX+/YPDn0pqyOZgcWF1iuIj95J0JdK0L4nafN7XnfmgZth/ip4NBNSoWfiUKeVOWSta8D+akVgGs1TpBDAy0IV3H62zaMdR5Phg8mHIFQbe5RrDlqgbqNpsoIjrCH0h2rntRElIYLFwACJsetDKWGEqxWCJUK5aE5lq6vW9RoLnr2eL2G57JgwJ0RRr2hHY/VW7gFSZklsX4MhbHFvqOjU5PbSUuQ5lsGJoiE2CT0TCTvBZpEBKGPqVwyAXAr2qcw4T8uiwApotUCGaerNAZLVYKk9j52nhFHCzf/fJiwj5Qn3vsQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ql16UGpPEA3xyGtwRFmtmbmCJqfgcBgKUVX5q+5/YHUSi74a0ny5dMWIErzMhc1/NnQY8zeoxaRlusygXC79MIWBfbqevqvIAfiW2NSahQcB14bWdVetIN79vJxXIWvkojs2WEjlNBY1X2rMDguX4XtevzM/eET1srBy/guIKYTL3Cz37pn5XKAsy+JJwzv59ct1fdmsWJh3gRwB/P1EXPRtoTx6Mq2MUeUO2A/5lK2xlXHhBBBIatb96u6LfwAs+1UuDRjInxMnrrLnPRchn6JRmCYDyRYLl5xQKyn+kYnirP+pF0X1AsnXnZjPQ6y7MnqGoXSHXU6ezAy8WFeVWQ==
  • Cc: Michal Orzel <michal.orzel@xxxxxxx>, Doug Goldstein <cardoe@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Luca Fancellu <luca.fancellu@xxxxxxx>
  • Delivery-date: Tue, 27 Sep 2022 09:47:49 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

In the follow-up patch we will add new jobs using debug Xen builds.
Because the debug builds take more space and we might end up in
a situation when there is not enough free space (especially during
a static memory test that reserves some region in the middle), increase
RAM size for QEMU from 1GB to 2GB.

Signed-off-by: Michal Orzel <michal.orzel@xxxxxxx>
Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
Reviewed-by: Luca Fancellu <luca.fancellu@xxxxxxx>
---
Changes in v3:
- none
Changes in v2:
- new patch carved out from previous v1 [3/9] patch
---
 automation/scripts/qemu-smoke-arm64.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/automation/scripts/qemu-smoke-arm64.sh 
b/automation/scripts/qemu-smoke-arm64.sh
index 5b566072f72a..933209e2e01e 100755
--- a/automation/scripts/qemu-smoke-arm64.sh
+++ b/automation/scripts/qemu-smoke-arm64.sh
@@ -52,7 +52,7 @@ curl -fsSLO 
https://github.com/qemu/qemu/raw/v5.2.0/pc-bios/efi-virtio.rom
 ./binaries/qemu-system-aarch64 \
    -machine virtualization=true \
    -cpu cortex-a57 -machine type=virt \
-   -m 1024 -smp 2 -display none \
+   -m 2048 -smp 2 -display none \
    -machine dumpdtb=binaries/virt-gicv2.dtb
 
 # XXX disable pl061 to avoid Linux crash
@@ -117,7 +117,7 @@ cd ..
 
 # ImageBuilder
 echo 'MEMORY_START="0x40000000"
-MEMORY_END="0x80000000"
+MEMORY_END="0xC0000000"
 
 DEVICE_TREE="virt-gicv2.dtb"
 XEN="xen"
@@ -158,7 +158,7 @@ timeout -k 1 240 \
 ./binaries/qemu-system-aarch64 \
     -machine virtualization=true \
     -cpu cortex-a57 -machine type=virt \
-    -m 1024 -monitor none -serial stdio \
+    -m 2048 -monitor none -serial stdio \
     -smp 2 \
     -no-reboot \
     -device virtio-net-pci,netdev=n0 \
-- 
2.25.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.