2020-07-14 09:43:33 +00:00
|
|
|
[package]
|
2023-07-12 02:24:28 +00:00
|
|
|
name = "block"
|
2020-07-14 09:43:33 +00:00
|
|
|
version = "0.1.0"
|
2022-04-08 15:11:04 +00:00
|
|
|
edition = "2021"
|
2023-07-12 02:24:28 +00:00
|
|
|
authors = ["The Cloud Hypervisor Authors", "The Chromium OS Authors"]
|
2020-07-14 09:43:33 +00:00
|
|
|
|
2020-08-03 06:32:28 +00:00
|
|
|
[features]
|
|
|
|
default = []
|
2023-07-10 09:55:55 +00:00
|
|
|
io_uring = ["dep:io-uring"]
|
2020-08-03 06:32:28 +00:00
|
|
|
|
2020-07-14 09:43:33 +00:00
|
|
|
[dependencies]
|
2023-07-12 02:24:28 +00:00
|
|
|
byteorder = "1.4.3"
|
2024-02-06 20:48:47 +00:00
|
|
|
crc-any = "2.4.4"
|
2023-12-07 22:30:53 +00:00
|
|
|
io-uring = { version = "0.6.2", optional = true }
|
2024-02-07 23:15:53 +00:00
|
|
|
libc = "0.2.153"
|
2023-11-23 23:47:38 +00:00
|
|
|
log = "0.4.20"
|
2023-08-02 23:05:18 +00:00
|
|
|
remain = "0.2.11"
|
2024-02-13 23:03:42 +00:00
|
|
|
smallvec = "1.13.1"
|
2023-12-29 23:11:34 +00:00
|
|
|
thiserror = "1.0.52"
|
2023-07-12 02:24:28 +00:00
|
|
|
uuid = { version = "1.3.4", features = ["v4"] }
|
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
|
|
|
versionize = "0.2.0"
|
|
|
|
versionize_derive = "0.1.6"
|
2023-02-21 23:58:46 +00:00
|
|
|
virtio-bindings = { version = "0.2.0", features = ["virtio-v5_0_0"] }
|
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
|
|
|
virtio-queue = "0.11.0"
|
|
|
|
vm-memory = { version = "0.14.0", features = ["backend-mmap", "backend-atomic", "backend-bitmap"] }
|
2020-07-27 13:58:53 +00:00
|
|
|
vm-virtio = { path = "../vm-virtio" }
|
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"
|