mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-07 04:07:21 +00:00
The add_device() function, from the device manager code, takes a DeviceConfig as a parameter, instead of a VmAddDevice. The change was originally done as part of 34412c9b41126 and it didn't break Kata Containers because the VmAddDevice and DeviceConfig structs share most of their fields, besides the optional for serialization `pci_segment`, which is not used by the client yet. Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com> Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>