runtime-rs: Set default_bridges with 0 for dragonball vmm

As Dragonball VMM does not support PCI hotplug options, it should
be set 0.

Signed-off-by: Alex Lyn <alex.lyn@antgroup.com>
This commit is contained in:
Alex Lyn
2026-01-07 18:51:00 +08:00
committed by Fabiano Fidêncio
parent 1a76d44e16
commit c0cca81993
2 changed files with 5 additions and 2 deletions

View File

@@ -244,6 +244,7 @@ ifneq (,$(DBCMD))
RUNTIMENAME := virt_container
PIPESIZE := 1
DBSHAREDFS := inline-virtio-fs
DEF_DGB_BRIDGES := 0
endif
ifneq (,$(CLHCMD))
@@ -552,6 +553,7 @@ USER_VARS += HYPERVISOR_QEMU
USER_VARS += HYPERVISOR_FC
USER_VARS += PIPESIZE
USER_VARS += DBSHAREDFS
USER_VARS += DEF_DGB_BRIDGES
USER_VARS += KATA_INSTALL_GROUP
USER_VARS += KATA_INSTALL_OWNER
USER_VARS += KATA_INSTALL_CFG_PERMS

View File

@@ -92,10 +92,11 @@ default_maxvcpus = @DEFMAXVCPUS_DB@
# * Until 5 PCI bridges can be cold plugged per VM.
# This limitation could be a bug in the kernel
# Default number of bridges per SB/VM:
# unspecified or 0 --> will be set to @DEFBRIDGES@
# unspecified or 0 --> will be set to @DEF_DGB_BRIDGES@
# > 1 <= 5 --> will be set to the specified number
# > 5 --> will be set to 5
default_bridges = @DEFBRIDGES@
# As Dragonball VMM does not support PCI hotplug options, it should be set 0.
default_bridges = @DEF_DGB_BRIDGES@
# Reclaim guest freed memory.
# Enabling this will result in the VM balloon device having f_reporting=on set.