2019-10-07 16:57:19 +00:00
|
|
|
[package]
|
|
|
|
name = "vm-device"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["The Cloud Hypervisor Authors"]
|
2022-04-08 15:11:04 +00:00
|
|
|
edition = "2021"
|
2019-10-07 16:57:19 +00:00
|
|
|
|
2021-07-13 16:04:32 +00:00
|
|
|
[features]
|
|
|
|
default = []
|
|
|
|
kvm = ["vfio-ioctls/kvm"]
|
2021-09-02 09:44:08 +00:00
|
|
|
mshv = ["vfio-ioctls/mshv"]
|
2021-07-13 16:04:32 +00:00
|
|
|
|
2019-10-07 16:57:19 +00:00
|
|
|
[dependencies]
|
2024-04-06 07:47:54 +00:00
|
|
|
anyhow = "1.0.81"
|
2022-05-10 21:23:18 +00:00
|
|
|
hypervisor = { path = "../hypervisor" }
|
2024-04-06 07:47:54 +00:00
|
|
|
thiserror = "1.0.58"
|
|
|
|
serde = { version = "1.0.197", features = ["rc", "derive"] }
|
2022-02-04 10:58:01 +00:00
|
|
|
vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", branch = "main", default-features = false }
|
2024-04-02 23:22:11 +00:00
|
|
|
vm-memory = { version = "0.14.1", features = ["backend-mmap"] }
|
build: Bump vmm-sys-util crate and its consumers
This patch bumps the following crates, including `kvm-bindings@0.7.0`*,
`kvm-ioctls@0.16.0`**, `linux-loader@0.11.0`, `versionize@0.2.0`,
`versionize_derive@0.1.6`***, `vhost@0.10.0`,
`vhost-user-backend@0.13.1`, `virtio-queue@0.11.0`, `vm-memory@0.14.0`,
`vmm-sys-util@0.12.1`, and the latest of `vfio-bindings`, `vfio-ioctls`,
`mshv-bindings`,`mshv-ioctls`, and `vfio-user`.
* A fork of the `kvm-bindings` crate is being used to support
serialization of various structs for migration [1]. Also, code changes
are made to accommodate the updated `struct xsave` from the Linux
kernel. Note: these changes related to `struct xsave` break
live-upgrade.
** The new `kvm-ioctls` crate introduced breaking changes for
the `get/set_one_reg` API on `aarch64` [2], so code changes are made to
the new APIs.
*** A fork of the `versionize_derive` crate is being used to support
versionize on packed structs [3].
[1] https://github.com/cloud-hypervisor/kvm-bindings/tree/ch-v0.7.0
[2] https://github.com/rust-vmm/kvm-ioctls/pull/223
[3] https://github.com/cloud-hypervisor/versionize_derive/tree/ch-0.1.6
Fixes: #6072
Signed-off-by: Bo Chen <chen.bo@intel.com>
2024-01-23 17:29:40 +00:00
|
|
|
vmm-sys-util = "0.12.1"
|