vmm: make PCI BDF configurable for balloon

Add shared PCI config to virtio-balloon.

On-behalf-of: SAP philipp.schuster@sap.com
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
This commit is contained in:
Philipp Schuster
2026-05-19 14:58:52 +02:00
committed by Rob Bradford
parent 08bd7727ff
commit 5aa0587f2a
5 changed files with 126 additions and 8 deletions
+2
View File
@@ -535,6 +535,8 @@ impl ApplyLandlock for RngConfig {
#[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize)]
pub struct BalloonConfig {
#[serde(flatten)]
pub pci_common: PciDeviceCommonConfig,
pub size: u64,
/// Option to deflate the balloon in case the guest is out of memory.
#[serde(default)]