cloud-hypervisor/vmm
Rob Bradford 476e4ce24f vmm: device_manager: Add virtio-pci devices into id to BDF map
In order to support hotplugging there is a map of human readable device
id to PCI BDF map.

As the device id is part of the specific device configuration (e.g.
NetConfig) it is necessary to return the id through from the helper
functions that create the devices through to the functions that add
those devices to the bus. This necessitates changing a great deal of
function prototypes but otherwise has little impact.

Currently only if an id is supplied by the user as part of the device
configuration is it populated into this map. A later commit will
populate with an autogenerated name where none is supplied by the user.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2020-04-16 17:03:25 +02:00
..
src vmm: device_manager: Add virtio-pci devices into id to BDF map 2020-04-16 17:03:25 +02:00
Cargo.toml build(deps): bump libc from 0.2.68 to 0.2.69 2020-04-14 09:27:04 +01:00