mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
83ab5ea528
Three functions are added: * 'Tap::new_for_fuzzing()' a custom constructor that creates a dummy `Tap` interface directly from `File` backed by Unix domain socket; * 'Tap::mtu()' a custom function that returns hard-coded mtu; * 'Net::wait_for_epoll_threads()'. Two functions are reused with modifications to work with the dummy 'Tap' interface: * 'Net::new_with_tap()' is made public for fuzzing; * 'Net::activate()' is modified to not call into 'Tap::set_offload()' for fuzzing. Signed-off-by: Bo Chen <chen.bo@intel.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |