crosvm/devices/src
Vikram Auradkar 7c9b08aae9 Prepare vmm_vhost to be milti-platform 2/2
The patch prepares backend.rs and connection.rs to be platform
independent by
- depending on base instead on sys_util
- using base::Event over sys_util::EventFd
- replacing RawFd usage with RawDescriptor and derivatives

To keep the noise low, the patch
- aliases structs/traits (Event as EventFd)
- does not rename variables (say from fd to rd).

Note: With this patch the crate/files are not completely platform
independent.

Test: Built, clippy and fmt
Bug: b:213151429
Change-Id: Ib57528ef1a951c3d083cf345c878ec1417b7ce3e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3460428
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Vikram Auradkar <auradkar@google.com>
2022-02-15 20:56:20 +00:00
..
irqchip
pci
platform
register_space
usb
utils
virtio Prepare vmm_vhost to be milti-platform 2/2 2022-02-15 20:56:20 +00:00
acpi.rs
bat.rs
bus.rs
cmos.rs
direct_io.rs
direct_irq.rs
i8042.rs
lib.rs
pit.rs
pl030.rs
proxy.rs
serial.rs
serial_device.rs
vfio.rs