cloud-hypervisor/net_util/src
Sebastien Boeuf 77df4e6773 vm-virtio: Define and implement Translatable trait
This new trait simplifies the address translation of a GuestAddress by
having GuestAddress implementing it.

The three crates virtio-devices, block_util and net_util have been
updated accordingly to rely on this new trait, helping with code
readability and limiting the amount of duplicated code.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2022-01-27 10:00:20 +00:00
..
ctrl_queue.rs vm-virtio: Define and implement Translatable trait 2022-01-27 10:00:20 +00:00
lib.rs net_util: add safety comments for impl ByteValued 2021-11-17 14:40:51 +00:00
mac.rs clippy: Remove useless code 2021-11-10 10:23:43 +01:00
open_tap.rs misc: Remove unused errors from public interface 2021-05-11 13:37:19 +02:00
queue_pair.rs vm-virtio: Define and implement Translatable trait 2022-01-27 10:00:20 +00:00
tap.rs net_util: drop unneeded clippy::cast_lossless 2022-01-18 17:23:27 -08:00