mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: device_manager: Return PciDeviceInfo from a hotplugged device
In order to provide the device name and PCI b/d/f associated with a freshly hotplugged device, the hotplugging functions from the device manager return a new structure called PciDeviceInfo. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
committed by
Rob Bradford
parent
0bc2b08d3a
commit
f08e9b6a73
@@ -177,6 +177,11 @@ impl AsRawFd for EpollContext {
|
||||
}
|
||||
}
|
||||
|
||||
pub struct PciDeviceInfo {
|
||||
pub id: String,
|
||||
pub bdf: u32,
|
||||
}
|
||||
|
||||
pub fn start_vmm_thread(
|
||||
vmm_version: String,
|
||||
http_path: &str,
|
||||
|
||||
Reference in New Issue
Block a user