mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
7c9b08aae9
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>
27 lines
631 B
TOML
27 lines
631 B
TOML
[package]
|
|
name = "vmm_vhost"
|
|
version = "0.1.0"
|
|
keywords = ["vhost", "vhost-user", "virtio", "vdpa"]
|
|
description = "a pure rust library for vdpa, vhost and vhost-user"
|
|
authors = ["Liu Jiang <gerry@linux.alibaba.com>"]
|
|
repository = "https://github.com/rust-vmm/vhost"
|
|
documentation = "https://docs.rs/vhost"
|
|
readme = "README.md"
|
|
license = "Apache-2.0 or BSD-3-Clause"
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = []
|
|
vmm = []
|
|
device = []
|
|
vfio-device = []
|
|
|
|
[dependencies]
|
|
anyhow = "*"
|
|
base = { path = "../../common/base" }
|
|
bitflags = ">=1.0.1"
|
|
data_model= "*"
|
|
libc = ">=0.2.39"
|
|
remain = "*"
|
|
tempfile = "*"
|
|
thiserror = { version = "1.0.20" }
|