mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-05-13 18:43:36 +00:00
Network device hotplugging will use the same infrastructure (Netdev, DeviceVirtioNet) as coldplugging, i.e. QemuCmdLine. To make the code of network device setup visible outside of QemuCmdLine we factor it out to a non-member function `get_network_device()` and make QemuCmdLine just delegate to it. Signed-off-by: Pavel Mores <pmores@redhat.com>