mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-11 12:35:26 +00:00
Windows vmm_vhost differs from linux vmm_vhost mostly on the structures that it depends on. For example windows uses Tube for linux' UnixStream. The patch aliases some of these types in a platform specific file. Rest of the platform independent code depends on those aliases. Bug: b:213151429 Test: presubmit, manually run cargo test on windows. Upstream-Crate: third_party/vmm_vhost Change-Id: I3f98fbec1ffdd8914dc5befddce3a8483a5fd94f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3496082 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Commit-Queue: Vikram Auradkar <auradkar@google.com>
28 lines
641 B
TOML
28 lines
641 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 = "2021"
|
|
|
|
[features]
|
|
default = []
|
|
vmm = []
|
|
device = []
|
|
vfio-device = []
|
|
|
|
[dependencies]
|
|
anyhow = "*"
|
|
base = { path = "../../base" }
|
|
bitflags = ">=1.0.1"
|
|
cfg-if = "1.0.0"
|
|
data_model= "*"
|
|
libc = ">=0.2.39"
|
|
remain = "*"
|
|
tempfile = "*"
|
|
thiserror = { version = "1.0.20" }
|