diff --git a/src/runtime-rs/crates/hypervisor/src/device/driver/vfio.rs b/src/runtime-rs/crates/hypervisor/src/device/driver/vfio.rs index eaad098d42..c2e8dacafa 100644 --- a/src/runtime-rs/crates/hypervisor/src/device/driver/vfio.rs +++ b/src/runtime-rs/crates/hypervisor/src/device/driver/vfio.rs @@ -177,6 +177,7 @@ pub struct HostDevice { pub guest_pci_path: Option, /// vfio_vendor for vendor's some special cases. + #[allow(unexpected_cfgs)] #[cfg(feature = "enable-vendor")] pub vfio_vendor: VfioVendor, }