From e93558e810d5bec2188727a66aa5b9759c1919e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Thu, 4 Jun 2026 22:48:28 +0200 Subject: [PATCH] runtime-rs: default static sizing-related config flags to true MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add top-level runtime-rs Makefile options `DEFSANDBOXCGROUP_ONLY` and `DEFSTATICRESOURCEMGMT`, both defaulting to true, and use them for the runtime defaults that previously disabled these paths. This aligns runtime-rs defaults with static sandbox resource management, which sizes sandbox memory up front instead of relying on memory hotplug, helping avoid architecture-specific hotplug limitations. Signed-off-by: Fabiano FidĂȘncio --- src/runtime-rs/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/runtime-rs/Makefile b/src/runtime-rs/Makefile index 64a1be32e1..de0cc88878 100644 --- a/src/runtime-rs/Makefile +++ b/src/runtime-rs/Makefile @@ -269,7 +269,7 @@ ifneq (,$(DBCMD)) KERNEL_NAME_DB = $(call MAKE_KERNEL_NAME_DB,$(KERNELTYPE_DB)) KERNELPATH_DB = $(KERNELDIR)/$(KERNEL_NAME_DB) DEFSANDBOXCGROUPONLY_DB := true - DEFSTATICRESOURCEMGMT_DB := false + DEFSTATICRESOURCEMGMT_DB := true RUNTIMENAME := virt_container PIPESIZE := 1 DBSHAREDFS := inline-virtio-fs @@ -315,7 +315,7 @@ ifneq (,$(CLHCMD)) VMROOTFSDRIVER_CLH := virtio-blk-pci DEFSANDBOXCGROUPONLY_CLH := true - DEFSTATICRESOURCEMGMT_CLH := false + DEFSTATICRESOURCEMGMT_CLH := true endif ifneq (,$(QEMUCMD)) @@ -489,10 +489,10 @@ endif KERNELPATH_COCO = $(KERNELDIR)/$(KERNEL_NAME_COCO) # overriding options - DEFSTATICRESOURCEMGMT_QEMU := false + DEFSTATICRESOURCEMGMT_QEMU := true # qemu-specific options - DEFSANDBOXCGROUPONLY_QEMU := false + DEFSANDBOXCGROUPONLY_QEMU := true DEFENABLEVCPUSPINNING_QEMU := false ifeq ($(ARCH), s390x) VMROOTFSDRIVER_QEMU := virtio-blk-ccw @@ -562,7 +562,7 @@ ifneq (,$(REMOTE)) SYSCONFIG_PATHS += $(SYSCONFDIR_REMOTE) CONFIGS += $(CONFIG_REMOTE) # remote-specific options (all should be suffixed by "_REMOTE") - DEFSANDBOXCGROUPONLY_REMOTE := false + DEFSANDBOXCGROUPONLY_REMOTE := true endif ifeq ($(HYPERVISOR),$(HYPERVISOR_DB))