mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-09-12 10:04:51 +00:00
Derived from the crosvm code at 5656c124af2bb956dba19e409a269ca588c685e3 and adapted to work within cloud-hypervisor: Main differences: * Interrupt handling is done via a VirtioInterrupt turned into a devices::Interrupt * GuestMemory -> GuestMemoryMmap * Differences in read/write for BusDevice * Different crates for EventFd and GuestAddress Signed-off-by: Rob Bradford <robert.bradford@intel.com>
33 lines
769 B
TOML
33 lines
769 B
TOML
[package]
|
|
name = "vm-virtio"
|
|
version = "0.1.0"
|
|
authors = ["Samuel Ortiz <sameo@linux.intel.com>"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = []
|
|
pci_support = ["pci"]
|
|
mmio_support = []
|
|
|
|
[dependencies]
|
|
byteorder = "1.3.2"
|
|
devices = { path = "../devices" }
|
|
epoll = "4.1.0"
|
|
libc = "0.2.60"
|
|
log = "0.4.8"
|
|
net_gen = { path = "../net_gen" }
|
|
net_util = { path = "../net_util" }
|
|
pci = { path = "../pci", optional = true }
|
|
tempfile = "3.1.0"
|
|
virtio-bindings = { path = "../virtio-bindings" }
|
|
vm-allocator = { path = "../vm-allocator" }
|
|
vmm-sys-util = { git = "https://github.com/rust-vmm/vmm-sys-util" }
|
|
|
|
[dependencies.vhost_rs]
|
|
path = "../vhost_rs"
|
|
features = ["vhost-user-master"]
|
|
|
|
[dependencies.vm-memory]
|
|
git = "https://github.com/rust-vmm/vm-memory"
|
|
features = ["backend-mmap"]
|