mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-22 19:32:20 +00:00
These are owned by the config (and are duplicated before being used to create the `Tap` for the virtio-net device.) By implementing Drop on NetConfig we have issues with moving out of members that don't implement the Copy trait. This requires a small adjustment to the unit tests that use the Default::default() function. Fixes: #5197 Signed-off-by: Rob Bradford <robert.bradford@intel.com>