2019-06-13 10:07:32 +00:00
|
|
|
# This file is automatically @generated by Cargo.
|
|
|
|
# It is not intended for manual editing.
|
2021-05-11 14:26:09 +00:00
|
|
|
version = 3
|
|
|
|
|
2019-08-07 16:53:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "acpi_tables"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2021-10-22 08:29:33 +00:00
|
|
|
"vm-memory",
|
2019-08-07 16:53:37 +00:00
|
|
|
]
|
|
|
|
|
2019-07-16 09:54:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "aho-corasick"
|
2021-05-03 10:06:31 +00:00
|
|
|
version = "0.7.18"
|
2019-07-16 09:54:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-03 10:06:31 +00:00
|
|
|
checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f"
|
2019-07-16 09:54:33 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"memchr",
|
2019-07-16 09:54:33 +00:00
|
|
|
]
|
|
|
|
|
2019-11-18 14:30:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "anyhow"
|
2022-04-21 23:42:36 +00:00
|
|
|
version = "1.0.57"
|
2019-11-18 14:30:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-21 23:42:36 +00:00
|
|
|
checksum = "08f9b8508dccb7687a1d6c4ce66b2b0ecef467c94667de27d8d7fe1f8d2a9cdc"
|
2019-11-18 14:30:54 +00:00
|
|
|
|
2020-10-23 10:20:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "api_client"
|
|
|
|
version = "0.1.0"
|
2021-07-20 13:31:32 +00:00
|
|
|
dependencies = [
|
|
|
|
"vmm-sys-util",
|
|
|
|
]
|
2020-10-23 10:20:37 +00:00
|
|
|
|
vm-virtio: Implement console size config feature
One of the features of the virtio console device is its size can be
configured and updated. Our first iteration of the console device
implementation is lack of this feature. As a result, it had a
default fixed size which could not be changed. This commit implements
the console config feature and lets us change the console size from
the vmm side.
During the activation of the device, vmm reads the current terminal
size, sets the console configuration accordinly, and lets the driver
know about this configuration by sending an interrupt. Later, if
someone changes the terminal size, the vmm detects the corresponding
event, updates the configuration, and sends interrupt as before. As a
result, the console device driver, in the guest, updates the console
size.
Signed-off-by: A K M Fazla Mehrab <fazla.mehrab.akm@intel.com>
2019-07-23 19:18:20 +00:00
|
|
|
[[package]]
|
|
|
|
name = "arc-swap"
|
2021-11-15 23:09:49 +00:00
|
|
|
version = "1.5.0"
|
vm-virtio: Implement console size config feature
One of the features of the virtio console device is its size can be
configured and updated. Our first iteration of the console device
implementation is lack of this feature. As a result, it had a
default fixed size which could not be changed. This commit implements
the console config feature and lets us change the console size from
the vmm side.
During the activation of the device, vmm reads the current terminal
size, sets the console configuration accordinly, and lets the driver
know about this configuration by sending an interrupt. Later, if
someone changes the terminal size, the vmm detects the corresponding
event, updates the configuration, and sends interrupt as before. As a
result, the console device driver, in the guest, updates the console
size.
Signed-off-by: A K M Fazla Mehrab <fazla.mehrab.akm@intel.com>
2019-07-23 19:18:20 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-11-15 23:09:49 +00:00
|
|
|
checksum = "c5d78ce20460b82d3fa150275ed9d55e21064fc7951177baacf86a145c4a4b1f"
|
vm-virtio: Implement console size config feature
One of the features of the virtio console device is its size can be
configured and updated. Our first iteration of the console device
implementation is lack of this feature. As a result, it had a
default fixed size which could not be changed. This commit implements
the console config feature and lets us change the console size from
the vmm side.
During the activation of the device, vmm reads the current terminal
size, sets the console configuration accordinly, and lets the driver
know about this configuration by sending an interrupt. Later, if
someone changes the terminal size, the vmm detects the corresponding
event, updates the configuration, and sends interrupt as before. As a
result, the console device driver, in the guest, updates the console
size.
Signed-off-by: A K M Fazla Mehrab <fazla.mehrab.akm@intel.com>
2019-07-23 19:18:20 +00:00
|
|
|
|
2019-02-28 13:16:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "arch"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"acpi_tables",
|
2020-06-02 02:29:54 +00:00
|
|
|
"anyhow",
|
2019-05-01 16:59:51 +00:00
|
|
|
"byteorder",
|
2021-06-18 14:24:33 +00:00
|
|
|
"fdt",
|
2020-06-02 02:29:54 +00:00
|
|
|
"hypervisor",
|
2019-05-01 16:59:51 +00:00
|
|
|
"libc",
|
|
|
|
"linux-loader",
|
2021-05-17 07:46:31 +00:00
|
|
|
"log",
|
2020-09-23 16:20:55 +00:00
|
|
|
"serde",
|
2021-02-03 10:23:35 +00:00
|
|
|
"thiserror",
|
2021-05-26 15:06:28 +00:00
|
|
|
"versionize",
|
|
|
|
"versionize_derive",
|
2021-05-10 10:19:24 +00:00
|
|
|
"vm-fdt",
|
2021-10-22 08:29:33 +00:00
|
|
|
"vm-memory",
|
2020-09-23 16:20:55 +00:00
|
|
|
"vm-migration",
|
2021-07-14 21:44:38 +00:00
|
|
|
"vmm-sys-util",
|
2019-02-28 13:16:58 +00:00
|
|
|
]
|
|
|
|
|
2019-02-21 16:39:34 +00:00
|
|
|
[[package]]
|
|
|
|
name = "atty"
|
2020-01-05 22:32:54 +00:00
|
|
|
version = "0.2.14"
|
2019-02-21 16:39:34 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-05-01 16:59:51 +00:00
|
|
|
checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
|
2019-02-21 16:39:34 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"hermit-abi",
|
|
|
|
"libc",
|
2021-05-17 07:46:31 +00:00
|
|
|
"winapi",
|
2019-02-21 16:39:34 +00:00
|
|
|
]
|
|
|
|
|
2020-01-30 07:46:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "autocfg"
|
2022-02-07 23:16:06 +00:00
|
|
|
version = "1.1.0"
|
2020-01-30 07:46:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-07 23:16:06 +00:00
|
|
|
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
|
2020-01-30 07:46:26 +00:00
|
|
|
|
2021-05-05 15:16:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bincode"
|
|
|
|
version = "1.3.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2019-03-07 13:56:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bitflags"
|
2021-08-16 23:11:36 +00:00
|
|
|
version = "1.3.2"
|
2019-03-07 13:56:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-16 23:11:36 +00:00
|
|
|
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
2019-03-07 13:56:43 +00:00
|
|
|
|
2020-07-14 09:43:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "block_util"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2020-07-27 13:58:53 +00:00
|
|
|
"io-uring",
|
|
|
|
"libc",
|
2021-05-17 07:46:31 +00:00
|
|
|
"log",
|
2021-01-20 18:03:59 +00:00
|
|
|
"qcow",
|
2021-01-20 09:53:27 +00:00
|
|
|
"thiserror",
|
2021-05-06 13:34:31 +00:00
|
|
|
"versionize",
|
|
|
|
"versionize_derive",
|
2021-07-26 15:51:03 +00:00
|
|
|
"vhdx",
|
2020-07-14 09:43:33 +00:00
|
|
|
"virtio-bindings",
|
2021-10-21 10:41:16 +00:00
|
|
|
"virtio-queue",
|
2021-10-22 08:29:33 +00:00
|
|
|
"vm-memory",
|
2020-07-14 09:43:33 +00:00
|
|
|
"vm-virtio",
|
2020-07-27 13:58:53 +00:00
|
|
|
"vmm-sys-util",
|
2020-07-14 09:43:33 +00:00
|
|
|
]
|
|
|
|
|
2019-02-28 13:16:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "byteorder"
|
2021-03-10 12:36:39 +00:00
|
|
|
version = "1.4.3"
|
2019-02-28 13:16:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-10 12:36:39 +00:00
|
|
|
checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
|
2019-02-28 13:16:58 +00:00
|
|
|
|
2019-05-23 15:45:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cc"
|
2022-02-16 23:13:28 +00:00
|
|
|
version = "1.0.73"
|
2019-05-23 15:45:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-16 23:13:28 +00:00
|
|
|
checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11"
|
2019-05-23 15:45:13 +00:00
|
|
|
|
2020-10-11 17:22:55 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cfg-if"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
|
|
|
2019-02-21 16:39:34 +00:00
|
|
|
[[package]]
|
|
|
|
name = "clap"
|
2022-05-12 23:10:55 +00:00
|
|
|
version = "3.1.18"
|
2019-02-21 16:39:34 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-12 23:10:55 +00:00
|
|
|
checksum = "d2dbdf4bdacb33466e854ce889eee8dfd5729abf7ccd7664d0a2d60cd384440b"
|
2019-02-21 16:39:34 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"atty",
|
2021-05-17 07:46:31 +00:00
|
|
|
"bitflags",
|
2022-04-15 23:11:03 +00:00
|
|
|
"clap_lex",
|
2021-12-31 23:09:17 +00:00
|
|
|
"indexmap",
|
|
|
|
"lazy_static",
|
2019-05-01 16:59:51 +00:00
|
|
|
"strsim",
|
2021-12-31 23:09:17 +00:00
|
|
|
"termcolor",
|
|
|
|
"terminal_size",
|
2019-05-01 16:59:51 +00:00
|
|
|
"textwrap",
|
2019-02-21 16:39:34 +00:00
|
|
|
]
|
|
|
|
|
2022-04-15 23:11:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "clap_lex"
|
2022-04-30 21:14:19 +00:00
|
|
|
version = "0.2.0"
|
2022-04-15 23:11:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-30 21:14:19 +00:00
|
|
|
checksum = "a37c35f1112dad5e6e0b1adaff798507497a18fceeb30cceb3bae7d1427b9213"
|
2022-04-15 23:11:03 +00:00
|
|
|
dependencies = [
|
|
|
|
"os_str_bytes",
|
|
|
|
]
|
|
|
|
|
2019-02-21 16:04:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cloud-hypervisor"
|
2022-04-13 11:00:01 +00:00
|
|
|
version = "23.0.0"
|
2019-02-21 16:39:34 +00:00
|
|
|
dependencies = [
|
2020-10-26 16:16:56 +00:00
|
|
|
"anyhow",
|
2020-10-23 10:20:37 +00:00
|
|
|
"api_client",
|
2019-05-01 16:59:51 +00:00
|
|
|
"clap",
|
2022-03-03 15:47:14 +00:00
|
|
|
"dirs",
|
2020-10-26 23:46:04 +00:00
|
|
|
"epoll",
|
2021-02-17 11:19:39 +00:00
|
|
|
"event_monitor",
|
2020-06-08 00:50:38 +00:00
|
|
|
"hypervisor",
|
2019-05-01 16:59:51 +00:00
|
|
|
"lazy_static",
|
|
|
|
"libc",
|
2021-05-17 07:46:31 +00:00
|
|
|
"log",
|
2020-05-15 09:19:51 +00:00
|
|
|
"net_util",
|
2020-09-08 14:51:00 +00:00
|
|
|
"option_parser",
|
2021-08-17 03:40:11 +00:00
|
|
|
"seccompiler",
|
2019-05-01 16:59:51 +00:00
|
|
|
"serde_json",
|
2021-01-11 18:32:35 +00:00
|
|
|
"signal-hook",
|
2021-03-23 16:15:48 +00:00
|
|
|
"test_infra",
|
2020-10-26 16:16:56 +00:00
|
|
|
"thiserror",
|
2021-10-22 08:29:33 +00:00
|
|
|
"vm-memory",
|
2019-05-01 16:59:51 +00:00
|
|
|
"vmm",
|
|
|
|
"vmm-sys-util",
|
2020-10-28 23:40:50 +00:00
|
|
|
"wait-timeout",
|
2019-02-22 16:05:02 +00:00
|
|
|
]
|
|
|
|
|
2021-07-26 15:51:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crc32c"
|
2022-04-13 10:05:46 +00:00
|
|
|
version = "0.6.3"
|
2021-07-26 15:51:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-13 10:05:46 +00:00
|
|
|
checksum = "3dfea2db42e9927a3845fb268a10a72faed6d416065f77873f05e411457c363e"
|
2021-07-26 15:51:03 +00:00
|
|
|
dependencies = [
|
|
|
|
"rustc_version",
|
|
|
|
]
|
|
|
|
|
2021-05-05 15:16:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crc64"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "55626594feae15d266d52440b26ff77de0e22230cf0c113abe619084c1ddc910"
|
|
|
|
|
2019-03-07 13:56:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "devices"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"acpi_tables",
|
2019-12-12 01:36:13 +00:00
|
|
|
"anyhow",
|
2021-05-21 16:26:00 +00:00
|
|
|
"arch",
|
2021-05-17 07:46:31 +00:00
|
|
|
"bitflags",
|
2019-05-01 16:59:51 +00:00
|
|
|
"byteorder",
|
|
|
|
"epoll",
|
|
|
|
"libc",
|
2021-05-17 07:46:31 +00:00
|
|
|
"log",
|
2021-05-11 14:26:09 +00:00
|
|
|
"versionize",
|
|
|
|
"versionize_derive",
|
2019-05-01 16:59:51 +00:00
|
|
|
"vm-device",
|
2021-10-22 08:29:33 +00:00
|
|
|
"vm-memory",
|
2019-12-12 01:36:13 +00:00
|
|
|
"vm-migration",
|
2019-05-01 16:59:51 +00:00
|
|
|
"vmm-sys-util",
|
2019-03-07 13:56:43 +00:00
|
|
|
]
|
|
|
|
|
2021-09-15 23:09:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dirs"
|
|
|
|
version = "4.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ca3aa72a6f96ea37bbc5aa912f6788242832f75369bdfdadcb0e38423f100059"
|
|
|
|
dependencies = [
|
|
|
|
"dirs-sys",
|
|
|
|
]
|
|
|
|
|
2019-05-23 15:45:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dirs-sys"
|
2022-03-18 00:17:26 +00:00
|
|
|
version = "0.3.7"
|
2019-05-23 15:45:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-18 00:17:26 +00:00
|
|
|
checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6"
|
2019-05-23 15:45:13 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"libc",
|
|
|
|
"redox_users",
|
2021-05-17 07:46:31 +00:00
|
|
|
"winapi",
|
2019-05-23 15:45:13 +00:00
|
|
|
]
|
|
|
|
|
2020-11-19 19:20:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "env_logger"
|
2021-07-14 23:09:44 +00:00
|
|
|
version = "0.9.0"
|
2020-11-19 19:20:23 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-14 23:09:44 +00:00
|
|
|
checksum = "0b2cf0344971ee6c64c31be0d530793fba457d322dfec2810c453d0ef228f9c3"
|
2020-11-19 19:20:23 +00:00
|
|
|
dependencies = [
|
|
|
|
"atty",
|
|
|
|
"humantime",
|
2021-05-17 07:46:31 +00:00
|
|
|
"log",
|
2020-11-19 19:20:23 +00:00
|
|
|
"regex",
|
|
|
|
"termcolor",
|
|
|
|
]
|
|
|
|
|
2019-03-07 13:56:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "epoll"
|
2020-06-25 13:31:37 +00:00
|
|
|
version = "4.3.1"
|
2019-03-07 13:56:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-06-25 13:31:37 +00:00
|
|
|
checksum = "20df693c700404f7e19d4d6fae6b15215d2913c27955d2b9d6f2c0f537511cd0"
|
2019-03-07 13:56:43 +00:00
|
|
|
dependencies = [
|
2021-05-17 07:46:31 +00:00
|
|
|
"bitflags",
|
2019-05-01 16:59:51 +00:00
|
|
|
"libc",
|
2019-03-07 13:56:43 +00:00
|
|
|
]
|
|
|
|
|
2021-02-17 11:16:00 +00:00
|
|
|
[[package]]
|
|
|
|
name = "event_monitor"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
2021-06-18 14:24:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fdt"
|
|
|
|
version = "0.1.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b643857cf70949306b81d7e92cb9d47add673868edac9863c4a49c42feaf3f1e"
|
|
|
|
|
2022-02-20 03:17:50 +00:00
|
|
|
[[package]]
|
|
|
|
name = "gdbstub"
|
2022-02-24 00:47:20 +00:00
|
|
|
version = "0.6.1"
|
2022-02-20 03:17:50 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-24 00:47:20 +00:00
|
|
|
checksum = "9fa2ca5d6b045de372cef3991f873389b421b4cabcfbe52f7787fae8b8b37906"
|
2022-02-20 03:17:50 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"cfg-if",
|
|
|
|
"log",
|
|
|
|
"managed",
|
|
|
|
"num-traits",
|
|
|
|
"paste",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "gdbstub_arch"
|
2022-02-24 02:00:16 +00:00
|
|
|
version = "0.2.2"
|
2022-02-20 03:17:50 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-24 02:00:16 +00:00
|
|
|
checksum = "51dc4b5718ac76d21e8605c0966dd32d80273b89b11e6cfef467b04e45934d37"
|
2022-02-20 03:17:50 +00:00
|
|
|
dependencies = [
|
|
|
|
"gdbstub",
|
|
|
|
"num-traits",
|
|
|
|
]
|
|
|
|
|
2019-07-22 18:50:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "getrandom"
|
2022-03-28 23:44:23 +00:00
|
|
|
version = "0.2.6"
|
2019-07-22 18:50:56 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-28 23:44:23 +00:00
|
|
|
checksum = "9be70c98951c83b8d2f8f60d7065fa6d5146873094452a1008da8c2f1e4205ad"
|
2019-07-22 18:50:56 +00:00
|
|
|
dependencies = [
|
2021-10-12 05:09:59 +00:00
|
|
|
"cfg-if",
|
2019-05-01 16:59:51 +00:00
|
|
|
"libc",
|
|
|
|
"wasi",
|
2019-07-22 18:50:56 +00:00
|
|
|
]
|
|
|
|
|
2019-07-16 09:54:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "glob"
|
2021-05-17 07:46:31 +00:00
|
|
|
version = "0.3.0"
|
2019-07-16 09:54:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-17 07:46:31 +00:00
|
|
|
checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
|
2019-07-16 09:54:33 +00:00
|
|
|
|
2021-12-31 23:09:17 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hashbrown"
|
|
|
|
version = "0.11.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e"
|
|
|
|
|
2020-01-05 22:32:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hermit-abi"
|
2021-12-10 08:47:06 +00:00
|
|
|
version = "0.1.20"
|
2020-01-05 22:32:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-10 08:47:06 +00:00
|
|
|
checksum = "c7a30908dbce072eca83216eab939d2290080e00ca71611b96a09e5cdce5f3fa"
|
2020-01-05 22:32:54 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"libc",
|
2020-01-05 22:32:54 +00:00
|
|
|
]
|
|
|
|
|
2020-11-19 19:20:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "humantime"
|
2021-01-13 20:44:38 +00:00
|
|
|
version = "2.1.0"
|
2020-11-19 19:20:23 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-01-13 20:44:38 +00:00
|
|
|
checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
|
2020-11-19 19:20:23 +00:00
|
|
|
|
2020-06-08 00:50:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hypervisor"
|
|
|
|
version = "0.1.0"
|
2020-06-03 19:23:56 +00:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
2020-11-19 19:20:23 +00:00
|
|
|
"env_logger",
|
2020-12-04 18:30:29 +00:00
|
|
|
"epoll",
|
2020-11-13 11:30:25 +00:00
|
|
|
"iced-x86",
|
2020-06-03 19:23:56 +00:00
|
|
|
"kvm-bindings",
|
|
|
|
"kvm-ioctls",
|
|
|
|
"libc",
|
2021-05-17 07:46:31 +00:00
|
|
|
"log",
|
2020-12-03 22:43:48 +00:00
|
|
|
"mshv-bindings",
|
|
|
|
"mshv-ioctls",
|
2020-06-03 19:23:56 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"thiserror",
|
2021-10-22 08:29:33 +00:00
|
|
|
"vm-memory",
|
2020-06-03 19:23:56 +00:00
|
|
|
"vmm-sys-util",
|
|
|
|
]
|
2020-06-08 00:50:38 +00:00
|
|
|
|
2020-11-13 11:30:25 +00:00
|
|
|
[[package]]
|
|
|
|
name = "iced-x86"
|
2022-02-24 23:14:18 +00:00
|
|
|
version = "1.17.0"
|
2020-11-13 11:30:25 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-24 23:14:18 +00:00
|
|
|
checksum = "158f5204401d08f91d19176112146d75e99b3cf745092e268fa7be33e09adcec"
|
2020-11-13 11:30:25 +00:00
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
|
|
|
"static_assertions",
|
|
|
|
]
|
|
|
|
|
2021-12-31 23:09:17 +00:00
|
|
|
[[package]]
|
|
|
|
name = "indexmap"
|
2022-03-29 23:48:38 +00:00
|
|
|
version = "1.8.1"
|
2021-12-31 23:09:17 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-29 23:48:38 +00:00
|
|
|
checksum = "0f647032dfaa1f8b6dc29bd3edb7bbef4861b8b8007ebb118d6db284fd59f6ee"
|
2021-12-31 23:09:17 +00:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
"hashbrown",
|
|
|
|
]
|
|
|
|
|
2021-10-12 05:09:59 +00:00
|
|
|
[[package]]
|
|
|
|
name = "instant"
|
2021-10-18 23:11:32 +00:00
|
|
|
version = "0.1.12"
|
2021-10-12 05:09:59 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-18 23:11:32 +00:00
|
|
|
checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
|
2021-10-12 05:09:59 +00:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
]
|
|
|
|
|
2020-07-27 13:58:53 +00:00
|
|
|
[[package]]
|
|
|
|
name = "io-uring"
|
2021-08-23 23:07:20 +00:00
|
|
|
version = "0.5.2"
|
2020-08-10 06:51:34 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-23 23:07:20 +00:00
|
|
|
checksum = "8d75829ed9377bab6c90039fe47b9d84caceb4b5063266142e21bcce6550cda8"
|
2020-07-27 13:58:53 +00:00
|
|
|
dependencies = [
|
2021-05-17 07:46:31 +00:00
|
|
|
"bitflags",
|
2020-07-27 13:58:53 +00:00
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2019-07-16 09:54:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ipnetwork"
|
2021-05-17 07:46:31 +00:00
|
|
|
version = "0.18.0"
|
2019-07-16 09:54:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-17 07:46:31 +00:00
|
|
|
checksum = "4088d739b183546b239688ddbc79891831df421773df95e236daf7867866d355"
|
2019-07-16 09:54:33 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"serde",
|
2019-07-16 09:54:33 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "itoa"
|
2022-05-17 01:28:15 +00:00
|
|
|
version = "1.0.2"
|
2019-07-16 09:54:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-17 01:28:15 +00:00
|
|
|
checksum = "112c678d4050afce233f4f2852bb2eb519230b3cf12f33585275537d7e41578d"
|
2019-07-16 09:54:33 +00:00
|
|
|
|
2019-02-22 16:05:02 +00:00
|
|
|
[[package]]
|
|
|
|
name = "kvm-bindings"
|
2021-09-15 13:55:15 +00:00
|
|
|
version = "0.5.0"
|
2022-02-16 13:47:12 +00:00
|
|
|
source = "git+https://github.com/cloud-hypervisor/kvm-bindings?branch=ch-v0.5.0-tdx#52e56d0e8ef0f6ea32fc0492e6a175b73617a49f"
|
2019-11-29 15:36:33 +00:00
|
|
|
dependencies = [
|
2020-02-16 20:42:42 +00:00
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
2019-05-01 16:59:51 +00:00
|
|
|
"vmm-sys-util",
|
2019-11-29 15:36:33 +00:00
|
|
|
]
|
2019-02-22 16:05:02 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "kvm-ioctls"
|
2021-11-18 23:08:40 +00:00
|
|
|
version = "0.11.0"
|
2022-02-16 14:39:06 +00:00
|
|
|
source = "git+https://github.com/rust-vmm/kvm-ioctls?branch=main#1e03e29cdfbb0cb108a98de7a78045a5a517f18e"
|
2019-02-22 16:05:02 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"kvm-bindings",
|
|
|
|
"libc",
|
|
|
|
"vmm-sys-util",
|
2019-02-21 16:39:34 +00:00
|
|
|
]
|
|
|
|
|
2019-07-16 09:54:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lazy_static"
|
2019-08-26 01:05:43 +00:00
|
|
|
version = "1.4.0"
|
2019-07-16 09:54:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-05-01 16:59:51 +00:00
|
|
|
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
|
2019-07-16 09:54:33 +00:00
|
|
|
|
2019-02-21 16:39:34 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libc"
|
2022-05-18 06:23:09 +00:00
|
|
|
version = "0.2.126"
|
2019-02-21 16:39:34 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-18 06:23:09 +00:00
|
|
|
checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836"
|
2019-02-21 16:39:34 +00:00
|
|
|
|
2019-05-23 15:45:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libssh2-sys"
|
2021-10-11 23:09:32 +00:00
|
|
|
version = "0.2.23"
|
2019-05-23 15:45:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-11 23:09:32 +00:00
|
|
|
checksum = "b094a36eb4b8b8c8a7b4b8ae43b2944502be3e59cd87687595cf6b0a71b3f4ca"
|
2019-05-23 15:45:13 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"libz-sys",
|
|
|
|
"openssl-sys",
|
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
2019-05-23 15:45:13 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libz-sys"
|
2022-04-27 23:12:12 +00:00
|
|
|
version = "1.1.6"
|
2019-05-23 15:45:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-27 23:12:12 +00:00
|
|
|
checksum = "92e7e15d7610cce1d9752e137625f14e61a28cd45929b6e12e47b50fe154ee2e"
|
2019-05-23 15:45:13 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
2019-05-23 15:45:13 +00:00
|
|
|
]
|
|
|
|
|
2019-02-28 13:16:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "linux-loader"
|
2021-09-24 07:43:14 +00:00
|
|
|
version = "0.4.0"
|
2021-02-25 16:53:46 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-09-24 07:43:14 +00:00
|
|
|
checksum = "8a5e77493808403a6bd56a301a64ea6b9342e36ea845044bf0dfdf56fe52fa08"
|
2019-06-03 14:40:09 +00:00
|
|
|
dependencies = [
|
2021-10-22 08:29:33 +00:00
|
|
|
"vm-memory",
|
2019-06-03 14:40:09 +00:00
|
|
|
]
|
|
|
|
|
2020-01-25 22:43:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lock_api"
|
2022-03-30 23:45:47 +00:00
|
|
|
version = "0.4.7"
|
2020-01-25 22:43:45 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-30 23:45:47 +00:00
|
|
|
checksum = "327fa5b6a6940e4699ec49a9beae1ea4845c6bab9314e4f84ac68742139d8c53"
|
2020-01-25 22:43:45 +00:00
|
|
|
dependencies = [
|
2022-03-30 23:45:47 +00:00
|
|
|
"autocfg",
|
2019-05-01 16:59:51 +00:00
|
|
|
"scopeguard",
|
2020-01-25 22:43:45 +00:00
|
|
|
]
|
|
|
|
|
2019-04-18 10:26:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "log"
|
2022-05-02 23:56:28 +00:00
|
|
|
version = "0.4.17"
|
2019-04-18 10:26:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-02 23:56:28 +00:00
|
|
|
checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"
|
2019-04-18 10:26:09 +00:00
|
|
|
dependencies = [
|
2021-10-12 05:09:59 +00:00
|
|
|
"cfg-if",
|
2019-04-18 10:26:09 +00:00
|
|
|
]
|
|
|
|
|
2022-02-20 03:17:50 +00:00
|
|
|
[[package]]
|
|
|
|
name = "managed"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0ca88d725a0a943b096803bd34e73a4437208b6077654cc4ecb2947a5f91618d"
|
|
|
|
|
2019-07-16 09:54:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "memchr"
|
2022-05-02 14:21:31 +00:00
|
|
|
version = "2.5.0"
|
2019-07-16 09:54:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-02 14:21:31 +00:00
|
|
|
checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
|
2019-07-16 09:54:33 +00:00
|
|
|
|
2019-09-18 09:14:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "micro_http"
|
|
|
|
version = "0.1.0"
|
2022-01-21 07:54:22 +00:00
|
|
|
source = "git+https://github.com/firecracker-microvm/micro-http?branch=main#a730d86940081ad044cdfbc1285c1db6d3048392"
|
2019-11-08 17:49:51 +00:00
|
|
|
dependencies = [
|
2021-04-16 05:31:15 +00:00
|
|
|
"libc",
|
|
|
|
"vmm-sys-util",
|
2019-11-08 17:49:51 +00:00
|
|
|
]
|
2019-09-18 09:14:49 +00:00
|
|
|
|
2020-12-03 22:43:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "mshv-bindings"
|
|
|
|
version = "0.1.0"
|
2022-05-18 23:38:51 +00:00
|
|
|
source = "git+https://github.com/rust-vmm/mshv?branch=main#67e13faa36989a9226ad21c9ff3947e1d5738a54"
|
2020-12-03 22:43:48 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"vmm-sys-util",
|
|
|
|
"zerocopy",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "mshv-ioctls"
|
|
|
|
version = "0.1.0"
|
2022-05-18 23:38:51 +00:00
|
|
|
source = "git+https://github.com/rust-vmm/mshv?branch=main#67e13faa36989a9226ad21c9ff3947e1d5738a54"
|
2020-12-03 22:43:48 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"mshv-bindings",
|
|
|
|
"vmm-sys-util",
|
|
|
|
]
|
|
|
|
|
2019-05-08 05:28:02 +00:00
|
|
|
[[package]]
|
|
|
|
name = "net_gen"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"vmm-sys-util",
|
2019-05-08 05:28:02 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "net_util"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2020-07-07 15:06:54 +00:00
|
|
|
"epoll",
|
2021-09-15 13:50:03 +00:00
|
|
|
"getrandom",
|
2019-05-01 16:59:51 +00:00
|
|
|
"lazy_static",
|
|
|
|
"libc",
|
2021-05-17 07:46:31 +00:00
|
|
|
"log",
|
2019-05-01 16:59:51 +00:00
|
|
|
"net_gen",
|
|
|
|
"pnet",
|
2021-03-17 22:41:52 +00:00
|
|
|
"rate_limiter",
|
2019-05-01 16:59:51 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2021-05-21 10:25:18 +00:00
|
|
|
"versionize",
|
|
|
|
"versionize_derive",
|
2020-07-07 14:02:18 +00:00
|
|
|
"virtio-bindings",
|
2021-10-21 10:41:16 +00:00
|
|
|
"virtio-queue",
|
2021-10-22 08:29:33 +00:00
|
|
|
"vm-memory",
|
2020-07-07 14:02:18 +00:00
|
|
|
"vm-virtio",
|
2019-05-01 16:59:51 +00:00
|
|
|
"vmm-sys-util",
|
2019-05-08 05:28:02 +00:00
|
|
|
]
|
|
|
|
|
2022-02-20 03:17:50 +00:00
|
|
|
[[package]]
|
|
|
|
name = "num-traits"
|
2022-05-03 23:11:04 +00:00
|
|
|
version = "0.2.15"
|
2022-02-20 03:17:50 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-03 23:11:04 +00:00
|
|
|
checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd"
|
2022-02-20 03:17:50 +00:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
]
|
|
|
|
|
2022-02-11 02:29:53 +00:00
|
|
|
[[package]]
|
|
|
|
name = "openssl-src"
|
2022-03-17 00:55:59 +00:00
|
|
|
version = "111.18.0+1.1.1n"
|
2022-02-11 02:29:53 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-17 00:55:59 +00:00
|
|
|
checksum = "7897a926e1e8d00219127dc020130eca4292e5ca666dd592480d72c3eca2ff6c"
|
2022-02-11 02:29:53 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
]
|
|
|
|
|
2019-05-23 15:45:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "openssl-sys"
|
2022-05-03 01:01:44 +00:00
|
|
|
version = "0.9.73"
|
2019-05-23 15:45:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-03 01:01:44 +00:00
|
|
|
checksum = "9d5fd19fb3e0a8191c1e34935718976a3e70c112ab9a24af6d7cadccd9d90bc0"
|
2019-05-23 15:45:13 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"autocfg",
|
|
|
|
"cc",
|
|
|
|
"libc",
|
2022-02-11 02:29:53 +00:00
|
|
|
"openssl-src",
|
2019-05-01 16:59:51 +00:00
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
2019-05-23 15:45:13 +00:00
|
|
|
]
|
|
|
|
|
2020-07-06 15:41:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "option_parser"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
2021-12-31 23:09:17 +00:00
|
|
|
[[package]]
|
|
|
|
name = "os_str_bytes"
|
2022-05-17 00:00:52 +00:00
|
|
|
version = "6.0.1"
|
2021-12-31 23:09:17 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-17 00:00:52 +00:00
|
|
|
checksum = "029d8d0b2f198229de29dca79676f2738ff952edf3fde542eb8bf94d8c21b435"
|
2021-12-31 23:09:17 +00:00
|
|
|
|
2020-01-25 22:43:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "parking_lot"
|
2021-10-12 05:09:59 +00:00
|
|
|
version = "0.11.2"
|
2020-01-25 22:43:45 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-12 05:09:59 +00:00
|
|
|
checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99"
|
2020-01-25 22:43:45 +00:00
|
|
|
dependencies = [
|
2021-10-12 05:09:59 +00:00
|
|
|
"instant",
|
2019-05-01 16:59:51 +00:00
|
|
|
"lock_api",
|
|
|
|
"parking_lot_core",
|
2020-01-25 22:43:45 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parking_lot_core"
|
2021-10-12 05:09:59 +00:00
|
|
|
version = "0.8.5"
|
2020-01-25 22:43:45 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-12 05:09:59 +00:00
|
|
|
checksum = "d76e8e1493bcac0d2766c42737f34458f1c8c50c0d23bcb24ea953affb273216"
|
2020-01-25 22:43:45 +00:00
|
|
|
dependencies = [
|
2021-10-12 05:09:59 +00:00
|
|
|
"cfg-if",
|
|
|
|
"instant",
|
2019-05-01 16:59:51 +00:00
|
|
|
"libc",
|
2021-10-12 05:09:59 +00:00
|
|
|
"redox_syscall",
|
2019-05-01 16:59:51 +00:00
|
|
|
"smallvec",
|
2021-05-17 07:46:31 +00:00
|
|
|
"winapi",
|
2020-01-25 22:43:45 +00:00
|
|
|
]
|
|
|
|
|
2022-02-20 03:17:50 +00:00
|
|
|
[[package]]
|
|
|
|
name = "paste"
|
2022-03-28 23:14:20 +00:00
|
|
|
version = "1.0.7"
|
2022-02-20 03:17:50 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-28 23:14:20 +00:00
|
|
|
checksum = "0c520e05135d6e763148b6426a837e239041653ba7becd2e538c076c738025fc"
|
2022-02-20 03:17:50 +00:00
|
|
|
|
2019-04-18 10:26:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pci"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2020-05-06 15:50:56 +00:00
|
|
|
"anyhow",
|
2019-05-01 16:59:51 +00:00
|
|
|
"byteorder",
|
2020-06-02 02:29:54 +00:00
|
|
|
"hypervisor",
|
2019-05-01 16:59:51 +00:00
|
|
|
"libc",
|
2021-05-17 07:46:31 +00:00
|
|
|
"log",
|
2022-02-16 08:55:26 +00:00
|
|
|
"serde",
|
2021-08-02 14:20:09 +00:00
|
|
|
"thiserror",
|
2021-05-26 15:28:15 +00:00
|
|
|
"versionize",
|
|
|
|
"versionize_derive",
|
2020-08-05 11:53:09 +00:00
|
|
|
"vfio-bindings",
|
2019-11-08 15:27:05 +00:00
|
|
|
"vfio-ioctls",
|
2021-06-09 13:43:04 +00:00
|
|
|
"vfio_user",
|
2019-05-01 16:59:51 +00:00
|
|
|
"vm-allocator",
|
|
|
|
"vm-device",
|
2021-10-22 08:29:33 +00:00
|
|
|
"vm-memory",
|
2020-05-06 15:50:56 +00:00
|
|
|
"vm-migration",
|
2019-11-08 14:50:39 +00:00
|
|
|
"vmm-sys-util",
|
2019-04-18 10:26:09 +00:00
|
|
|
]
|
|
|
|
|
2022-01-11 05:27:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "performance-metrics"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2022-02-11 02:02:03 +00:00
|
|
|
"clap",
|
2022-03-03 15:47:14 +00:00
|
|
|
"dirs",
|
2022-02-01 05:24:13 +00:00
|
|
|
"serde",
|
2022-01-11 05:27:58 +00:00
|
|
|
"serde_json",
|
|
|
|
"test_infra",
|
2022-02-15 16:11:58 +00:00
|
|
|
"thiserror",
|
2022-01-11 05:27:58 +00:00
|
|
|
"wait-timeout",
|
|
|
|
]
|
|
|
|
|
2019-05-23 15:45:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pkg-config"
|
2022-03-31 23:11:39 +00:00
|
|
|
version = "0.3.25"
|
2019-05-23 15:45:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-31 23:11:39 +00:00
|
|
|
checksum = "1df8c4ec4b0627e53bdf214615ad287367e482558cf84b109250b37464dc03ae"
|
2019-05-23 15:45:13 +00:00
|
|
|
|
2019-07-16 09:54:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pnet"
|
2022-01-13 23:13:01 +00:00
|
|
|
version = "0.29.0"
|
2019-07-16 09:54:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-13 23:13:01 +00:00
|
|
|
checksum = "8750e073f82219c01e771133c64718d7685aef922da8a0d430a46aed05b6341a"
|
2019-07-16 09:54:33 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"ipnetwork",
|
|
|
|
"pnet_base",
|
|
|
|
"pnet_datalink",
|
|
|
|
"pnet_packet",
|
|
|
|
"pnet_sys",
|
|
|
|
"pnet_transport",
|
2019-07-16 09:54:33 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pnet_base"
|
2022-01-13 23:13:01 +00:00
|
|
|
version = "0.29.0"
|
2019-07-16 09:54:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-13 23:13:01 +00:00
|
|
|
checksum = "8205fe084bd43a3af79b3155c19feddd62e733640498842e631a2ffe107d1538"
|
2019-07-16 09:54:33 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pnet_datalink"
|
2022-01-13 23:13:01 +00:00
|
|
|
version = "0.29.0"
|
2019-07-16 09:54:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-13 23:13:01 +00:00
|
|
|
checksum = "6f85aef5e52e22ff06b1b11f2eb6d52959a9e0ecad3cb3f5cc2d78cadc077f0e"
|
2019-07-16 09:54:33 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"ipnetwork",
|
|
|
|
"libc",
|
|
|
|
"pnet_base",
|
|
|
|
"pnet_sys",
|
2021-05-17 07:46:31 +00:00
|
|
|
"winapi",
|
2019-07-16 09:54:33 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pnet_macros"
|
2022-01-13 23:13:01 +00:00
|
|
|
version = "0.29.0"
|
2019-07-16 09:54:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-13 23:13:01 +00:00
|
|
|
checksum = "98cc3af95fed6dc318dfede3e81320f96ad5e237c6f7c4688108b19c8e67432d"
|
2019-07-16 09:54:33 +00:00
|
|
|
dependencies = [
|
2021-05-17 07:46:31 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2019-05-01 16:59:51 +00:00
|
|
|
"regex",
|
2021-05-17 07:46:31 +00:00
|
|
|
"syn",
|
2019-07-16 09:54:33 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pnet_macros_support"
|
2022-01-13 23:13:01 +00:00
|
|
|
version = "0.29.0"
|
2019-07-16 09:54:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-13 23:13:01 +00:00
|
|
|
checksum = "feaba58ba96abb218ec584d6caf0d3ff48922df05dbbeb1560553c197091b29e"
|
2019-07-16 09:54:33 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"pnet_base",
|
2019-07-16 09:54:33 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pnet_packet"
|
2022-01-13 23:13:01 +00:00
|
|
|
version = "0.29.0"
|
2019-07-16 09:54:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-13 23:13:01 +00:00
|
|
|
checksum = "f246edaaf1aaf82072d4cd38ee18bcc5dfc0464093f9ca39e4ac5962d68cf9d4"
|
2019-07-16 09:54:33 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"glob",
|
|
|
|
"pnet_base",
|
|
|
|
"pnet_macros",
|
|
|
|
"pnet_macros_support",
|
2019-07-16 09:54:33 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pnet_sys"
|
2022-01-13 23:13:01 +00:00
|
|
|
version = "0.29.0"
|
2019-07-16 09:54:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-13 23:13:01 +00:00
|
|
|
checksum = "028c87a5e3a48fc07df099a2025f2ef16add5993712e1494ba69a6707ee7ed06"
|
2019-07-16 09:54:33 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"libc",
|
2021-05-17 07:46:31 +00:00
|
|
|
"winapi",
|
2019-07-16 09:54:33 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pnet_transport"
|
2022-01-13 23:13:01 +00:00
|
|
|
version = "0.29.0"
|
2019-07-16 09:54:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-13 23:13:01 +00:00
|
|
|
checksum = "950f2a7961e19d22e19e84ff0a6e0955013185fe149673499662633d02b41b7a"
|
2019-07-16 09:54:33 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"libc",
|
|
|
|
"pnet_base",
|
|
|
|
"pnet_packet",
|
|
|
|
"pnet_sys",
|
2019-07-16 09:54:33 +00:00
|
|
|
]
|
|
|
|
|
2019-08-19 09:50:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "proc-macro2"
|
2022-05-16 23:12:33 +00:00
|
|
|
version = "1.0.39"
|
2019-08-19 09:50:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-16 23:12:33 +00:00
|
|
|
checksum = "c54b25569025b7fc9651de43004ae593a75ad88543b17178aa5e1b9c4f15f56f"
|
2019-08-19 09:50:43 +00:00
|
|
|
dependencies = [
|
2022-05-16 23:12:33 +00:00
|
|
|
"unicode-ident",
|
2019-08-19 09:50:43 +00:00
|
|
|
]
|
|
|
|
|
2019-04-29 19:32:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "qcow"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"byteorder",
|
|
|
|
"libc",
|
2021-05-17 07:46:31 +00:00
|
|
|
"log",
|
2019-05-01 16:59:51 +00:00
|
|
|
"remain",
|
|
|
|
"vmm-sys-util",
|
2019-04-29 19:32:56 +00:00
|
|
|
]
|
|
|
|
|
2019-08-19 09:50:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "quote"
|
2022-04-11 23:27:40 +00:00
|
|
|
version = "1.0.18"
|
2019-08-19 09:50:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-11 23:27:40 +00:00
|
|
|
checksum = "a1feb54ed693b93a84e14094943b84b7c4eae204c512b7ccb95ab0c66d278ad1"
|
2019-08-19 09:50:43 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"proc-macro2",
|
2019-08-19 09:50:43 +00:00
|
|
|
]
|
|
|
|
|
2021-03-22 18:23:51 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rate_limiter"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2021-05-17 07:46:31 +00:00
|
|
|
"log",
|
2021-03-22 18:23:51 +00:00
|
|
|
"vmm-sys-util",
|
|
|
|
]
|
|
|
|
|
2021-04-23 22:44:20 +00:00
|
|
|
[[package]]
|
|
|
|
name = "redox_syscall"
|
2022-03-31 00:25:15 +00:00
|
|
|
version = "0.2.13"
|
2021-04-23 22:44:20 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-31 00:25:15 +00:00
|
|
|
checksum = "62f25bc4c7e55e0b0b7a1d43fb893f4fa1361d0abe38b9ce4f323c2adfe6ef42"
|
2021-04-23 22:44:20 +00:00
|
|
|
dependencies = [
|
2021-05-17 07:46:31 +00:00
|
|
|
"bitflags",
|
2021-04-23 22:44:20 +00:00
|
|
|
]
|
|
|
|
|
2019-05-23 15:45:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "redox_users"
|
2022-03-30 23:16:44 +00:00
|
|
|
version = "0.4.3"
|
2019-05-23 15:45:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-30 23:16:44 +00:00
|
|
|
checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b"
|
2019-05-23 15:45:13 +00:00
|
|
|
dependencies = [
|
2021-02-22 15:43:48 +00:00
|
|
|
"getrandom",
|
2021-10-12 05:09:59 +00:00
|
|
|
"redox_syscall",
|
2022-03-17 23:11:31 +00:00
|
|
|
"thiserror",
|
2019-05-23 15:45:13 +00:00
|
|
|
]
|
|
|
|
|
2019-07-16 09:54:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "regex"
|
2022-03-08 15:18:19 +00:00
|
|
|
version = "1.5.5"
|
2019-07-16 09:54:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-08 15:18:19 +00:00
|
|
|
checksum = "1a11647b6b25ff05a515cb92c365cec08801e83423a235b51e231e1808747286"
|
2019-07-16 09:54:33 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"aho-corasick",
|
|
|
|
"memchr",
|
|
|
|
"regex-syntax",
|
2019-07-16 09:54:33 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "regex-syntax"
|
2021-05-03 10:06:31 +00:00
|
|
|
version = "0.6.25"
|
2019-07-16 09:54:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-03 10:06:31 +00:00
|
|
|
checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b"
|
2019-07-16 09:54:33 +00:00
|
|
|
|
2019-04-29 19:32:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "remain"
|
2022-04-30 22:01:04 +00:00
|
|
|
version = "0.2.3"
|
2019-04-29 19:32:56 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-30 22:01:04 +00:00
|
|
|
checksum = "0c35270ea384ac1762895831cc8acb96f171468e52cec82ed9186f9416209fa4"
|
2019-04-29 19:32:56 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-04-29 19:32:56 +00:00
|
|
|
]
|
|
|
|
|
2021-07-26 15:51:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_version"
|
2022-01-05 23:46:55 +00:00
|
|
|
version = "0.4.0"
|
2021-07-26 15:51:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-05 23:46:55 +00:00
|
|
|
checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
|
2021-07-26 15:51:03 +00:00
|
|
|
dependencies = [
|
|
|
|
"semver",
|
|
|
|
]
|
|
|
|
|
2019-07-16 09:54:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ryu"
|
2022-05-17 04:20:23 +00:00
|
|
|
version = "1.0.10"
|
2019-07-16 09:54:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-17 04:20:23 +00:00
|
|
|
checksum = "f3f6f92acf49d1b98f7a81226834412ada05458b7364277387724a237f062695"
|
2019-07-16 09:54:33 +00:00
|
|
|
|
2020-01-25 22:43:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "scopeguard"
|
2020-02-16 23:05:44 +00:00
|
|
|
version = "1.1.0"
|
2020-01-25 22:43:45 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-05-01 16:59:51 +00:00
|
|
|
checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
|
2020-01-25 22:43:45 +00:00
|
|
|
|
2020-03-19 10:49:13 +00:00
|
|
|
[[package]]
|
2021-08-17 03:40:11 +00:00
|
|
|
name = "seccompiler"
|
2021-10-01 17:29:21 +00:00
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e01d1292a1131b22ccea49f30bd106f1238b5ddeec1a98d39268dcc31d540e68"
|
2020-03-19 10:49:13 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"libc",
|
2020-03-19 10:49:13 +00:00
|
|
|
]
|
|
|
|
|
2021-07-26 15:51:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "semver"
|
2022-05-02 15:54:12 +00:00
|
|
|
version = "1.0.9"
|
2021-07-26 15:51:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-02 15:54:12 +00:00
|
|
|
checksum = "8cb243bdfdb5936c8dc3c45762a19d12ab4550cdc753bc247637d4ec35a040fd"
|
2021-07-26 15:51:03 +00:00
|
|
|
|
2019-05-08 05:28:02 +00:00
|
|
|
[[package]]
|
|
|
|
name = "serde"
|
2022-05-02 15:07:00 +00:00
|
|
|
version = "1.0.137"
|
2019-05-08 05:28:02 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-02 15:07:00 +00:00
|
|
|
checksum = "61ea8d54c77f8315140a05f4c7237403bf38b72704d031543aa1d16abbf517d1"
|
2022-05-17 21:04:38 +00:00
|
|
|
dependencies = [
|
|
|
|
"serde_derive",
|
|
|
|
]
|
2019-05-08 05:28:02 +00:00
|
|
|
|
2019-09-27 09:40:50 +00:00
|
|
|
[[package]]
|
|
|
|
name = "serde_derive"
|
2022-05-02 16:41:59 +00:00
|
|
|
version = "1.0.137"
|
2019-09-27 09:40:50 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-02 16:41:59 +00:00
|
|
|
checksum = "1f26faba0c3959972377d3b2d306ee9f71faee9714294e41bb777f83f88578be"
|
2019-09-27 09:40:50 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-09-27 09:40:50 +00:00
|
|
|
]
|
|
|
|
|
2019-07-16 09:54:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "serde_json"
|
2022-05-03 23:53:31 +00:00
|
|
|
version = "1.0.81"
|
2019-07-16 09:54:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-03 23:53:31 +00:00
|
|
|
checksum = "9b7ce2b32a1aed03c558dc61a5cd328f15aff2dbc17daad8fb8af04d2100e15c"
|
2019-07-16 09:54:33 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"itoa",
|
|
|
|
"ryu",
|
|
|
|
"serde",
|
2019-07-16 09:54:33 +00:00
|
|
|
]
|
|
|
|
|
vm-virtio: Implement console size config feature
One of the features of the virtio console device is its size can be
configured and updated. Our first iteration of the console device
implementation is lack of this feature. As a result, it had a
default fixed size which could not be changed. This commit implements
the console config feature and lets us change the console size from
the vmm side.
During the activation of the device, vmm reads the current terminal
size, sets the console configuration accordinly, and lets the driver
know about this configuration by sending an interrupt. Later, if
someone changes the terminal size, the vmm detects the corresponding
event, updates the configuration, and sends interrupt as before. As a
result, the console device driver, in the guest, updates the console
size.
Signed-off-by: A K M Fazla Mehrab <fazla.mehrab.akm@intel.com>
2019-07-23 19:18:20 +00:00
|
|
|
[[package]]
|
|
|
|
name = "signal-hook"
|
2022-05-17 02:54:07 +00:00
|
|
|
version = "0.3.14"
|
vm-virtio: Implement console size config feature
One of the features of the virtio console device is its size can be
configured and updated. Our first iteration of the console device
implementation is lack of this feature. As a result, it had a
default fixed size which could not be changed. This commit implements
the console config feature and lets us change the console size from
the vmm side.
During the activation of the device, vmm reads the current terminal
size, sets the console configuration accordinly, and lets the driver
know about this configuration by sending an interrupt. Later, if
someone changes the terminal size, the vmm detects the corresponding
event, updates the configuration, and sends interrupt as before. As a
result, the console device driver, in the guest, updates the console
size.
Signed-off-by: A K M Fazla Mehrab <fazla.mehrab.akm@intel.com>
2019-07-23 19:18:20 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-17 02:54:07 +00:00
|
|
|
checksum = "a253b5e89e2698464fc26b545c9edceb338e18a89effeeecfea192c3025be29d"
|
vm-virtio: Implement console size config feature
One of the features of the virtio console device is its size can be
configured and updated. Our first iteration of the console device
implementation is lack of this feature. As a result, it had a
default fixed size which could not be changed. This commit implements
the console config feature and lets us change the console size from
the vmm side.
During the activation of the device, vmm reads the current terminal
size, sets the console configuration accordinly, and lets the driver
know about this configuration by sending an interrupt. Later, if
someone changes the terminal size, the vmm detects the corresponding
event, updates the configuration, and sends interrupt as before. As a
result, the console device driver, in the guest, updates the console
size.
Signed-off-by: A K M Fazla Mehrab <fazla.mehrab.akm@intel.com>
2019-07-23 19:18:20 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"libc",
|
|
|
|
"signal-hook-registry",
|
vm-virtio: Implement console size config feature
One of the features of the virtio console device is its size can be
configured and updated. Our first iteration of the console device
implementation is lack of this feature. As a result, it had a
default fixed size which could not be changed. This commit implements
the console config feature and lets us change the console size from
the vmm side.
During the activation of the device, vmm reads the current terminal
size, sets the console configuration accordinly, and lets the driver
know about this configuration by sending an interrupt. Later, if
someone changes the terminal size, the vmm detects the corresponding
event, updates the configuration, and sends interrupt as before. As a
result, the console device driver, in the guest, updates the console
size.
Signed-off-by: A K M Fazla Mehrab <fazla.mehrab.akm@intel.com>
2019-07-23 19:18:20 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "signal-hook-registry"
|
2021-06-02 07:23:14 +00:00
|
|
|
version = "1.4.0"
|
vm-virtio: Implement console size config feature
One of the features of the virtio console device is its size can be
configured and updated. Our first iteration of the console device
implementation is lack of this feature. As a result, it had a
default fixed size which could not be changed. This commit implements
the console config feature and lets us change the console size from
the vmm side.
During the activation of the device, vmm reads the current terminal
size, sets the console configuration accordinly, and lets the driver
know about this configuration by sending an interrupt. Later, if
someone changes the terminal size, the vmm detects the corresponding
event, updates the configuration, and sends interrupt as before. As a
result, the console device driver, in the guest, updates the console
size.
Signed-off-by: A K M Fazla Mehrab <fazla.mehrab.akm@intel.com>
2019-07-23 19:18:20 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-02 07:23:14 +00:00
|
|
|
checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0"
|
vm-virtio: Implement console size config feature
One of the features of the virtio console device is its size can be
configured and updated. Our first iteration of the console device
implementation is lack of this feature. As a result, it had a
default fixed size which could not be changed. This commit implements
the console config feature and lets us change the console size from
the vmm side.
During the activation of the device, vmm reads the current terminal
size, sets the console configuration accordinly, and lets the driver
know about this configuration by sending an interrupt. Later, if
someone changes the terminal size, the vmm detects the corresponding
event, updates the configuration, and sends interrupt as before. As a
result, the console device driver, in the guest, updates the console
size.
Signed-off-by: A K M Fazla Mehrab <fazla.mehrab.akm@intel.com>
2019-07-23 19:18:20 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"libc",
|
vm-virtio: Implement console size config feature
One of the features of the virtio console device is its size can be
configured and updated. Our first iteration of the console device
implementation is lack of this feature. As a result, it had a
default fixed size which could not be changed. This commit implements
the console config feature and lets us change the console size from
the vmm side.
During the activation of the device, vmm reads the current terminal
size, sets the console configuration accordinly, and lets the driver
know about this configuration by sending an interrupt. Later, if
someone changes the terminal size, the vmm detects the corresponding
event, updates the configuration, and sends interrupt as before. As a
result, the console device driver, in the guest, updates the console
size.
Signed-off-by: A K M Fazla Mehrab <fazla.mehrab.akm@intel.com>
2019-07-23 19:18:20 +00:00
|
|
|
]
|
|
|
|
|
2020-01-25 22:43:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "smallvec"
|
2022-01-14 23:21:54 +00:00
|
|
|
version = "1.8.0"
|
2020-01-25 22:43:45 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-14 23:21:54 +00:00
|
|
|
checksum = "f2dd574626839106c320a323308629dcb1acfc96e32a8cba364ddc61ac23ee83"
|
2020-01-25 22:43:45 +00:00
|
|
|
|
2019-05-23 15:45:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ssh2"
|
2021-10-12 05:09:59 +00:00
|
|
|
version = "0.9.3"
|
2019-05-23 15:45:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-12 05:09:59 +00:00
|
|
|
checksum = "269343e64430067a14937ae0e3c4ec604c178fb896dde0964b1acd22b3e2eeb1"
|
2019-05-23 15:45:13 +00:00
|
|
|
dependencies = [
|
2021-05-17 07:46:31 +00:00
|
|
|
"bitflags",
|
2019-05-01 16:59:51 +00:00
|
|
|
"libc",
|
|
|
|
"libssh2-sys",
|
|
|
|
"parking_lot",
|
2019-05-23 15:45:13 +00:00
|
|
|
]
|
|
|
|
|
2020-11-13 11:30:25 +00:00
|
|
|
[[package]]
|
|
|
|
name = "static_assertions"
|
2021-03-22 14:39:51 +00:00
|
|
|
version = "1.1.0"
|
2020-11-13 11:30:25 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-22 14:39:51 +00:00
|
|
|
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
|
2020-11-13 11:30:25 +00:00
|
|
|
|
2019-02-21 16:39:34 +00:00
|
|
|
[[package]]
|
|
|
|
name = "strsim"
|
2021-12-31 23:09:17 +00:00
|
|
|
version = "0.10.0"
|
2019-02-21 16:39:34 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-31 23:09:17 +00:00
|
|
|
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
|
2019-02-21 16:39:34 +00:00
|
|
|
|
2019-08-19 09:50:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "syn"
|
2022-05-16 23:12:33 +00:00
|
|
|
version = "1.0.95"
|
2019-08-19 09:50:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-16 23:12:33 +00:00
|
|
|
checksum = "fbaf6116ab8924f39d52792136fb74fd60a80194cf1b1c6ffa6453eef1c3f942"
|
2019-08-19 09:50:43 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2022-05-16 23:12:33 +00:00
|
|
|
"unicode-ident",
|
2019-08-19 09:50:43 +00:00
|
|
|
]
|
|
|
|
|
2019-05-23 15:45:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "synstructure"
|
2021-10-11 23:09:17 +00:00
|
|
|
version = "0.12.6"
|
2019-05-23 15:45:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-11 23:09:17 +00:00
|
|
|
checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f"
|
2019-05-23 15:45:13 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2021-05-17 07:46:31 +00:00
|
|
|
"unicode-xid",
|
2019-07-16 09:54:33 +00:00
|
|
|
]
|
|
|
|
|
2020-03-12 16:00:40 +00:00
|
|
|
[[package]]
|
2021-12-31 23:09:17 +00:00
|
|
|
name = "termcolor"
|
2022-03-03 00:01:51 +00:00
|
|
|
version = "1.1.3"
|
2020-03-12 16:00:40 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-03 00:01:51 +00:00
|
|
|
checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755"
|
2020-03-12 16:00:40 +00:00
|
|
|
dependencies = [
|
2021-12-31 23:09:17 +00:00
|
|
|
"winapi-util",
|
2020-03-12 16:00:40 +00:00
|
|
|
]
|
|
|
|
|
2020-11-19 19:20:23 +00:00
|
|
|
[[package]]
|
2021-12-31 23:09:17 +00:00
|
|
|
name = "terminal_size"
|
|
|
|
version = "0.1.17"
|
2020-11-19 19:20:23 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-31 23:09:17 +00:00
|
|
|
checksum = "633c1a546cee861a1a6d0dc69ebeca693bf4296661ba7852b9d21d159e0506df"
|
2020-11-19 19:20:23 +00:00
|
|
|
dependencies = [
|
2021-12-31 23:09:17 +00:00
|
|
|
"libc",
|
|
|
|
"winapi",
|
2020-11-19 19:20:23 +00:00
|
|
|
]
|
|
|
|
|
2021-03-23 16:15:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "test_infra"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2022-03-03 15:47:14 +00:00
|
|
|
"dirs",
|
2021-03-23 16:15:48 +00:00
|
|
|
"epoll",
|
2022-02-04 19:14:41 +00:00
|
|
|
"lazy_static",
|
2021-03-23 16:15:48 +00:00
|
|
|
"libc",
|
|
|
|
"ssh2",
|
|
|
|
"vmm-sys-util",
|
|
|
|
"wait-timeout",
|
|
|
|
]
|
|
|
|
|
2019-02-21 16:39:34 +00:00
|
|
|
[[package]]
|
|
|
|
name = "textwrap"
|
2022-03-02 23:27:37 +00:00
|
|
|
version = "0.15.0"
|
2019-02-21 16:39:34 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-02 23:27:37 +00:00
|
|
|
checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb"
|
2019-02-21 16:39:34 +00:00
|
|
|
dependencies = [
|
2021-12-31 23:09:17 +00:00
|
|
|
"terminal_size",
|
2019-02-21 16:39:34 +00:00
|
|
|
]
|
|
|
|
|
2019-11-18 14:30:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "thiserror"
|
2022-05-02 09:15:04 +00:00
|
|
|
version = "1.0.31"
|
2019-11-18 14:30:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-02 09:15:04 +00:00
|
|
|
checksum = "bd829fe32373d27f76265620b5309d0340cb8550f523c1dda251d6298069069a"
|
2019-11-18 14:30:54 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"thiserror-impl",
|
2019-11-18 14:30:54 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "thiserror-impl"
|
2022-05-02 09:15:04 +00:00
|
|
|
version = "1.0.31"
|
2019-11-18 14:30:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-02 09:15:04 +00:00
|
|
|
checksum = "0396bc89e626244658bef819e22d0cc459e795a5ebe878e6ec336d1674a8d79a"
|
2019-11-18 14:30:54 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-11-18 14:30:54 +00:00
|
|
|
]
|
|
|
|
|
2022-05-16 23:12:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-ident"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d22af068fba1eb5edcb4aea19d382b2a3deb4c8f9d475c589b6ada9e0fd493ee"
|
|
|
|
|
2019-08-19 09:50:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-xid"
|
2022-05-02 13:15:10 +00:00
|
|
|
version = "0.2.3"
|
2019-08-19 09:50:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-02 13:15:10 +00:00
|
|
|
checksum = "957e51f3646910546462e67d5f7599b9e4fb8acdd304b087a6494730f9eebf04"
|
2019-08-19 09:50:43 +00:00
|
|
|
|
2021-06-09 13:00:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "uuid"
|
2022-04-20 08:47:41 +00:00
|
|
|
version = "1.0.0"
|
2021-06-09 13:00:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-20 08:47:41 +00:00
|
|
|
checksum = "8cfcd319456c4d6ea10087ed423473267e1a071f3bc0aa89f80d60997843c6f0"
|
2021-07-26 15:51:03 +00:00
|
|
|
dependencies = [
|
|
|
|
"getrandom",
|
|
|
|
]
|
2021-06-09 13:00:07 +00:00
|
|
|
|
2019-05-23 15:45:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vcpkg"
|
2021-06-21 23:10:33 +00:00
|
|
|
version = "0.2.15"
|
2019-05-23 15:45:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-21 23:10:33 +00:00
|
|
|
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
|
2019-05-23 15:45:13 +00:00
|
|
|
|
2021-05-05 15:16:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "versionize"
|
|
|
|
version = "0.1.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7429cf68de8f091b667d27323ed323afd39584a56d533995b12ddd748e5e6ca9"
|
|
|
|
dependencies = [
|
|
|
|
"bincode",
|
|
|
|
"crc64",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"syn",
|
|
|
|
"versionize_derive",
|
|
|
|
"vmm-sys-util",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "versionize_derive"
|
|
|
|
version = "0.1.4"
|
2021-05-06 13:31:41 +00:00
|
|
|
source = "git+https://github.com/cloud-hypervisor/versionize_derive?branch=ch#ae35ef7a3ddabd3371ab8ac0193a383aff6e4b1b"
|
2021-05-05 15:16:19 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2019-07-15 09:42:40 +00:00
|
|
|
[[package]]
|
2019-11-08 15:27:05 +00:00
|
|
|
name = "vfio-bindings"
|
2021-12-20 23:14:31 +00:00
|
|
|
version = "0.3.1"
|
2020-08-05 11:53:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-20 23:14:31 +00:00
|
|
|
checksum = "43449b404c488f70507dca193debd4bea361fe8089869b947adc19720e464bce"
|
2019-11-08 15:27:05 +00:00
|
|
|
dependencies = [
|
|
|
|
"vmm-sys-util",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "vfio-ioctls"
|
2019-11-12 14:36:07 +00:00
|
|
|
version = "0.1.0"
|
2022-02-16 09:32:03 +00:00
|
|
|
source = "git+https://github.com/rust-vmm/vfio?branch=main#f75a77c1ab6349c105bc1462a65508726b4c2e0f"
|
2019-07-15 09:42:40 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"byteorder",
|
|
|
|
"kvm-bindings",
|
|
|
|
"kvm-ioctls",
|
2021-12-01 01:51:39 +00:00
|
|
|
"libc",
|
2021-05-17 07:46:31 +00:00
|
|
|
"log",
|
2021-09-02 09:44:08 +00:00
|
|
|
"mshv-bindings",
|
|
|
|
"mshv-ioctls",
|
2021-12-01 01:51:39 +00:00
|
|
|
"thiserror",
|
2020-08-05 11:53:09 +00:00
|
|
|
"vfio-bindings",
|
2021-10-22 08:29:33 +00:00
|
|
|
"vm-memory",
|
2021-06-04 11:42:36 +00:00
|
|
|
"vmm-sys-util",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "vfio_user"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
|
|
|
"thiserror",
|
|
|
|
"vfio-bindings",
|
2021-10-22 08:29:33 +00:00
|
|
|
"vm-memory",
|
2019-05-01 16:59:51 +00:00
|
|
|
"vmm-sys-util",
|
2019-07-15 09:42:40 +00:00
|
|
|
]
|
|
|
|
|
2021-07-26 15:51:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vhdx"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
|
|
|
"crc32c",
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"remain",
|
|
|
|
"thiserror",
|
|
|
|
"uuid",
|
|
|
|
"vmm-sys-util",
|
|
|
|
]
|
|
|
|
|
2019-05-21 18:54:53 +00:00
|
|
|
[[package]]
|
2020-02-25 03:26:35 +00:00
|
|
|
name = "vhost"
|
2022-03-25 16:11:56 +00:00
|
|
|
version = "0.4.0"
|
2021-10-07 08:44:23 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-25 16:11:56 +00:00
|
|
|
checksum = "53567fd9ab820e4f3cc156f24146882fee3c365194c3e1dea74723265f27fc88"
|
2019-05-21 18:54:53 +00:00
|
|
|
dependencies = [
|
2021-05-17 07:46:31 +00:00
|
|
|
"bitflags",
|
2019-05-01 16:59:51 +00:00
|
|
|
"libc",
|
2021-10-22 08:29:33 +00:00
|
|
|
"vm-memory",
|
2019-05-01 16:59:51 +00:00
|
|
|
"vmm-sys-util",
|
2019-05-21 18:54:53 +00:00
|
|
|
]
|
|
|
|
|
2022-02-02 10:36:47 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vhost-user-backend"
|
2022-03-25 16:11:56 +00:00
|
|
|
version = "0.3.0"
|
2022-05-11 02:08:42 +00:00
|
|
|
source = "git+https://github.com/rust-vmm/vhost-user-backend?rev=14f58eda14076e973704d4f904850be1146fbb05#14f58eda14076e973704d4f904850be1146fbb05"
|
2022-02-02 10:36:47 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"vhost",
|
|
|
|
"virtio-bindings",
|
|
|
|
"virtio-queue",
|
|
|
|
"vm-memory",
|
|
|
|
"vmm-sys-util",
|
|
|
|
]
|
|
|
|
|
2019-10-31 17:16:28 +00:00
|
|
|
[[package]]
|
2020-01-20 16:10:21 +00:00
|
|
|
name = "vhost_user_block"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2020-07-14 09:43:33 +00:00
|
|
|
"block_util",
|
2020-07-03 14:14:36 +00:00
|
|
|
"clap",
|
2021-08-04 19:35:56 +00:00
|
|
|
"env_logger",
|
2019-05-01 16:59:51 +00:00
|
|
|
"epoll",
|
|
|
|
"libc",
|
2021-05-17 07:46:31 +00:00
|
|
|
"log",
|
2020-07-06 15:41:45 +00:00
|
|
|
"option_parser",
|
2019-05-01 16:59:51 +00:00
|
|
|
"qcow",
|
|
|
|
"vhost",
|
2022-03-03 15:45:05 +00:00
|
|
|
"vhost-user-backend",
|
2020-05-20 10:13:06 +00:00
|
|
|
"virtio-bindings",
|
2021-10-22 08:29:33 +00:00
|
|
|
"vm-memory",
|
2019-05-01 16:59:51 +00:00
|
|
|
"vmm-sys-util",
|
2020-01-20 16:10:21 +00:00
|
|
|
]
|
|
|
|
|
2020-01-20 16:10:21 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vhost_user_net"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2020-07-03 14:14:36 +00:00
|
|
|
"clap",
|
2021-08-04 19:35:56 +00:00
|
|
|
"env_logger",
|
2019-05-01 16:59:51 +00:00
|
|
|
"epoll",
|
|
|
|
"libc",
|
2021-05-17 07:46:31 +00:00
|
|
|
"log",
|
2019-05-01 16:59:51 +00:00
|
|
|
"net_util",
|
2020-07-06 15:41:45 +00:00
|
|
|
"option_parser",
|
2019-05-01 16:59:51 +00:00
|
|
|
"vhost",
|
2022-03-03 15:45:05 +00:00
|
|
|
"vhost-user-backend",
|
2020-05-20 10:13:06 +00:00
|
|
|
"virtio-bindings",
|
2021-10-22 08:29:33 +00:00
|
|
|
"vm-memory",
|
2019-05-01 16:59:51 +00:00
|
|
|
"vmm-sys-util",
|
2020-01-20 16:10:21 +00:00
|
|
|
]
|
|
|
|
|
2019-10-10 07:38:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "virtio-bindings"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-05-01 16:59:51 +00:00
|
|
|
checksum = "3ff512178285488516ed85f15b5d0113a7cdb89e9e8a760b269ae4f02b84bd6b"
|
2019-10-10 07:38:42 +00:00
|
|
|
|
2020-07-02 12:25:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "virtio-devices"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"arc-swap",
|
2020-07-14 09:43:33 +00:00
|
|
|
"block_util",
|
2020-07-02 12:25:19 +00:00
|
|
|
"byteorder",
|
|
|
|
"epoll",
|
2021-02-18 15:10:51 +00:00
|
|
|
"event_monitor",
|
2020-07-30 10:40:09 +00:00
|
|
|
"io-uring",
|
2020-07-02 12:25:19 +00:00
|
|
|
"libc",
|
2021-05-17 07:46:31 +00:00
|
|
|
"log",
|
2020-07-02 12:25:19 +00:00
|
|
|
"net_gen",
|
|
|
|
"net_util",
|
|
|
|
"pci",
|
2021-03-22 18:23:51 +00:00
|
|
|
"rate_limiter",
|
2021-08-17 03:40:11 +00:00
|
|
|
"seccompiler",
|
2020-07-02 12:25:19 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
virtio-devices: Add Vdpa device
vDPA is a kernel framework introduced fairly recently in order to handle
devices complying with virtio specification on their datapath, while the
control path is vendor specific. For the datapath, that means the
virtqueues are handled through DMA directly between the hardware and the
guest, while the control path goes through the vDPA framework,
eventually exposed through a vhost-vdpa device.
vDPA, like VFIO, aims at achieving baremetal performance for devices
that are passed into a VM. But unlike VFIO, it provides a simpler/better
framework for achieving migration. Because the DMA accesses between the
device and the guest are going through virtio queues, migration can be
achieved way more easily, and doesn't require each device driver to
implement the migration support. In the VFIO case, each vendor is
expected to provide an implementation of the VFIO migration framework,
which makes things harder as it must be done for each and every device.
So to summarize the point is to support migration for hardware devices
through which we can achieve baremetal performances.
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2022-03-07 14:34:44 +00:00
|
|
|
"thiserror",
|
2021-05-06 13:34:31 +00:00
|
|
|
"versionize",
|
|
|
|
"versionize_derive",
|
2020-07-02 12:25:19 +00:00
|
|
|
"vhost",
|
|
|
|
"virtio-bindings",
|
2021-10-21 10:41:16 +00:00
|
|
|
"virtio-queue",
|
2020-07-02 12:25:19 +00:00
|
|
|
"vm-allocator",
|
|
|
|
"vm-device",
|
2021-10-22 08:29:33 +00:00
|
|
|
"vm-memory",
|
2020-07-02 12:25:19 +00:00
|
|
|
"vm-migration",
|
|
|
|
"vm-virtio",
|
|
|
|
"vmm-sys-util",
|
|
|
|
]
|
|
|
|
|
2021-10-21 10:41:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "virtio-queue"
|
2022-05-11 02:08:42 +00:00
|
|
|
version = "0.3.0"
|
2022-03-07 12:47:51 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-11 02:08:42 +00:00
|
|
|
checksum = "88f2d73c184c18f8acc32dab77fcb6e3af92d53262538d3a68aa474810d6863c"
|
2021-10-21 10:41:16 +00:00
|
|
|
dependencies = [
|
|
|
|
"log",
|
|
|
|
"vm-memory",
|
|
|
|
"vmm-sys-util",
|
|
|
|
]
|
|
|
|
|
2019-04-18 10:26:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vm-allocator"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2020-06-11 14:08:34 +00:00
|
|
|
"arch",
|
2019-05-01 16:59:51 +00:00
|
|
|
"libc",
|
2021-10-22 08:29:33 +00:00
|
|
|
"vm-memory",
|
2019-04-18 10:26:09 +00:00
|
|
|
]
|
|
|
|
|
2019-10-07 16:57:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vm-device"
|
|
|
|
version = "0.1.0"
|
2019-11-18 14:30:54 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"anyhow",
|
2022-05-10 21:23:18 +00:00
|
|
|
"hypervisor",
|
2019-05-01 16:59:51 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"thiserror",
|
2021-02-23 13:47:56 +00:00
|
|
|
"vfio-ioctls",
|
2021-10-22 08:29:33 +00:00
|
|
|
"vm-memory",
|
2019-05-01 16:59:51 +00:00
|
|
|
"vmm-sys-util",
|
2019-11-18 14:30:54 +00:00
|
|
|
]
|
2019-10-07 16:57:19 +00:00
|
|
|
|
2021-05-10 10:19:24 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vm-fdt"
|
2021-11-01 23:09:38 +00:00
|
|
|
version = "0.2.0"
|
2022-03-02 23:27:55 +00:00
|
|
|
source = "git+https://github.com/rust-vmm/vm-fdt?branch=main#ca35d96191f8232bd7ab8c3e72ec925bf04bd2e0"
|
2021-05-10 10:19:24 +00:00
|
|
|
|
2021-08-05 23:09:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vm-memory"
|
2022-05-11 02:08:42 +00:00
|
|
|
version = "0.8.0"
|
2021-08-05 23:09:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-11 02:08:42 +00:00
|
|
|
checksum = "767ed8aaebbff902e02e6d3749dc2baef55e46565f8a6414a065e5baee4b4a81"
|
2021-08-05 23:09:54 +00:00
|
|
|
dependencies = [
|
2021-08-06 07:46:17 +00:00
|
|
|
"arc-swap",
|
2021-08-05 23:09:54 +00:00
|
|
|
"libc",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2019-05-01 16:59:51 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vm-migration"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"thiserror",
|
2021-05-05 15:16:19 +00:00
|
|
|
"versionize",
|
|
|
|
"versionize_derive",
|
2021-10-22 08:29:33 +00:00
|
|
|
"vm-memory",
|
2019-02-22 16:05:02 +00:00
|
|
|
]
|
|
|
|
|
2019-05-06 17:27:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vm-virtio"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2021-05-17 07:46:31 +00:00
|
|
|
"log",
|
2020-05-20 10:13:06 +00:00
|
|
|
"virtio-bindings",
|
2021-10-21 10:41:16 +00:00
|
|
|
"virtio-queue",
|
2021-10-22 08:29:33 +00:00
|
|
|
"vm-memory",
|
2019-05-06 17:27:40 +00:00
|
|
|
]
|
|
|
|
|
2019-02-22 16:05:02 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vmm"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"acpi_tables",
|
|
|
|
"anyhow",
|
|
|
|
"arc-swap",
|
|
|
|
"arch",
|
2021-05-17 07:46:31 +00:00
|
|
|
"bitflags",
|
2020-07-30 10:44:05 +00:00
|
|
|
"block_util",
|
2019-05-01 16:59:51 +00:00
|
|
|
"clap",
|
|
|
|
"devices",
|
|
|
|
"epoll",
|
2021-02-17 11:24:36 +00:00
|
|
|
"event_monitor",
|
2022-02-20 03:17:50 +00:00
|
|
|
"gdbstub",
|
|
|
|
"gdbstub_arch",
|
2020-06-02 02:29:54 +00:00
|
|
|
"hypervisor",
|
2019-05-01 16:59:51 +00:00
|
|
|
"lazy_static",
|
|
|
|
"libc",
|
|
|
|
"linux-loader",
|
2021-05-17 07:46:31 +00:00
|
|
|
"log",
|
2019-05-01 16:59:51 +00:00
|
|
|
"micro_http",
|
|
|
|
"net_util",
|
2020-07-06 15:41:45 +00:00
|
|
|
"option_parser",
|
2019-05-01 16:59:51 +00:00
|
|
|
"pci",
|
|
|
|
"qcow",
|
2021-08-17 03:40:11 +00:00
|
|
|
"seccompiler",
|
2019-05-01 16:59:51 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"signal-hook",
|
2020-10-26 16:11:02 +00:00
|
|
|
"thiserror",
|
2021-06-09 13:00:07 +00:00
|
|
|
"uuid",
|
2021-05-21 12:50:41 +00:00
|
|
|
"versionize",
|
|
|
|
"versionize_derive",
|
2019-11-08 15:27:05 +00:00
|
|
|
"vfio-ioctls",
|
2021-08-11 10:19:33 +00:00
|
|
|
"vfio_user",
|
2021-07-26 15:51:03 +00:00
|
|
|
"vhdx",
|
2020-07-02 12:25:19 +00:00
|
|
|
"virtio-devices",
|
2021-10-21 10:41:16 +00:00
|
|
|
"virtio-queue",
|
2019-05-01 16:59:51 +00:00
|
|
|
"vm-allocator",
|
|
|
|
"vm-device",
|
2021-10-22 08:29:33 +00:00
|
|
|
"vm-memory",
|
2019-05-01 16:59:51 +00:00
|
|
|
"vm-migration",
|
|
|
|
"vm-virtio",
|
|
|
|
"vmm-sys-util",
|
2019-02-28 14:26:30 +00:00
|
|
|
]
|
|
|
|
|
2019-10-23 07:44:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vmm-sys-util"
|
2021-09-15 00:12:33 +00:00
|
|
|
version = "0.9.0"
|
2019-10-23 07:44:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-09-15 00:12:33 +00:00
|
|
|
checksum = "733537bded03aaa93543f785ae997727b30d1d9f4a03b7861d23290474242e11"
|
2019-10-23 07:44:42 +00:00
|
|
|
dependencies = [
|
2021-05-17 07:46:31 +00:00
|
|
|
"bitflags",
|
2019-05-01 16:59:51 +00:00
|
|
|
"libc",
|
2020-02-17 14:28:24 +00:00
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
2019-10-23 07:44:42 +00:00
|
|
|
]
|
|
|
|
|
2020-10-28 23:40:50 +00:00
|
|
|
[[package]]
|
|
|
|
name = "wait-timeout"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2019-08-14 16:19:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "wasi"
|
2021-04-23 22:44:20 +00:00
|
|
|
version = "0.10.2+wasi-snapshot-preview1"
|
2019-08-14 16:19:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-23 22:44:20 +00:00
|
|
|
checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6"
|
2019-08-14 16:19:06 +00:00
|
|
|
|
2019-02-21 16:39:34 +00:00
|
|
|
[[package]]
|
|
|
|
name = "winapi"
|
2020-07-06 08:39:44 +00:00
|
|
|
version = "0.3.9"
|
2019-02-21 16:39:34 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-06 08:39:44 +00:00
|
|
|
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
2019-02-21 16:39:34 +00:00
|
|
|
dependencies = [
|
2019-05-01 16:59:51 +00:00
|
|
|
"winapi-i686-pc-windows-gnu",
|
|
|
|
"winapi-x86_64-pc-windows-gnu",
|
2019-02-21 16:39:34 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "winapi-i686-pc-windows-gnu"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-05-01 16:59:51 +00:00
|
|
|
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
2019-02-21 16:39:34 +00:00
|
|
|
|
2020-11-19 19:20:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "winapi-util"
|
|
|
|
version = "0.1.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
|
|
|
|
dependencies = [
|
2021-05-17 07:46:31 +00:00
|
|
|
"winapi",
|
2020-11-19 19:20:23 +00:00
|
|
|
]
|
|
|
|
|
2019-02-21 16:39:34 +00:00
|
|
|
[[package]]
|
|
|
|
name = "winapi-x86_64-pc-windows-gnu"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-05-01 16:59:51 +00:00
|
|
|
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
2020-12-03 22:43:48 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "zerocopy"
|
2021-11-11 23:12:56 +00:00
|
|
|
version = "0.6.1"
|
2020-12-03 22:43:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-11-11 23:12:56 +00:00
|
|
|
checksum = "332f188cc1bcf1fe1064b8c58d150f497e697f49774aa846f2dc949d9a25f236"
|
2020-12-03 22:43:48 +00:00
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
|
|
|
"zerocopy-derive",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "zerocopy-derive"
|
2021-11-11 23:12:56 +00:00
|
|
|
version = "0.3.1"
|
2020-12-03 22:43:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-11-11 23:12:56 +00:00
|
|
|
checksum = "a0fbc82b82efe24da867ee52e015e58178684bd9dd64c34e66bdf21da2582a9f"
|
2020-12-03 22:43:48 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"syn",
|
|
|
|
"synstructure",
|
|
|
|
]
|