mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: config: Add pci_device_id to PciDeviceCommonConfig
This adds it to all device types that use the common PCI device configuration. Signed-off-by: Rob Bradford <rbradford@meta.com>
This commit is contained in:
@@ -281,6 +281,8 @@ pub struct PciDeviceCommonConfig {
|
||||
pub iommu: bool,
|
||||
#[serde(default)]
|
||||
pub pci_segment: u16,
|
||||
#[serde(default)]
|
||||
pub pci_device_id: Option<u8>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize)]
|
||||
|
||||
Reference in New Issue
Block a user