vmm: Remove mmio and pci differentiation

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2020-10-15 17:34:35 +02:00
committed by Rob Bradford
parent d2741fdc84
commit af3c6c34c3
6 changed files with 155 additions and 486 deletions
-2
View File
@@ -15,7 +15,6 @@ pub struct DeviceNode {
pub children: Vec<String>,
#[serde(skip)]
pub migratable: Option<Arc<Mutex<dyn Migratable>>>,
#[cfg(feature = "pci_support")]
pub pci_bdf: Option<u32>,
}
@@ -27,7 +26,6 @@ impl DeviceNode {
parent: None,
children: Vec::new(),
migratable,
#[cfg(feature = "pci_support")]
pci_bdf: None,
}
}