pH/Cargo.toml
Bruce Leidl 53a5bce2a2 Replace our memory manager implementation with vm-memory.
This is a large intrusive refactor but it will make it easier
to adopt other components from rust-vmm ecosystem in the future.

Our old implementation was also potentially problematic due to
an API which directly hands out [u8] slices to guest memory.

(See VolatileSlice and 'volatile_memory' module in vm-memory for
discussion about this issue)

Since the old memory manager also handled graphics memory buffers
this was rewritten into a separate component and moved into 'io'
module.

Uses of FileDesc class were removed and replaced by use of the
standard File type instead which accomplishes most of the same
goals.

MemoryFd was removed and replaced with memfd crate.
2024-01-11 08:53:48 -05:00

24 lines
575 B
TOML

[package]
name = "ph"
version = "0.1.0"
authors = ["Bruce Leidl <bruce@subgraph.com>"]
edition = "2018"
[dependencies]
byteorder="1.0.0"
libc = "*"
termios = "0.2.2"
lazy_static = "1.4.0"
signal-hook = "0.1.10"
thiserror = "1.0"
vmm-sys-util = "0.11.1"
vm-memory = { version = "0.13.1", features = ["backend-mmap"] }
vm-allocator = "0.1.0"
kvm-ioctls = "0.12.0"
kvm-bindings = "0.6.0"
memfd = "0.6.4"
pulse = { version = "2.27.1", package = "libpulse-binding" }
libcitadel = { git = "https://github.com/brl/citadel-tools", rev="44d5ce660f1f5cf8a3ad1060b143926a99be5148" }