diff --git a/vmm/src/config.rs b/vmm/src/config.rs index 8d27410d2..d205bb299 100644 --- a/vmm/src/config.rs +++ b/vmm/src/config.rs @@ -2306,6 +2306,12 @@ impl VmConfig { } } + if let Some(vdpa_devices) = &self.vdpa { + for vdpa_device in vdpa_devices { + vdpa_device.validate(self)?; + } + } + if let Some(balloon) = &self.balloon { let mut ram_size = self.memory.size;