cloud-hypervisor/vm-virtio
Rob Bradford 3151b5d82a vm-virtio: net: Refactor to support code reuse
Split out functions that work just on the TAP device and queues. Whilst
doing so also improve the error handling to return Results rather than
drop errors.

This change also addresses a bug where the TAP event suppression could
ineffectual because it was being enabled immediately after it may have
been disabled:

resume_rx -> rx_single_frame -> unregister_listener -> resume_rx ->
register_listener.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2020-06-02 13:26:52 +02:00
..
src vm-virtio: net: Refactor to support code reuse 2020-06-02 13:26:52 +02:00
Cargo.toml build(deps): bump vm-memory from 0.2.0 to 0.2.1 2020-05-28 17:06:48 +01:00