From 882cdda995e856e20ba2f700981e490b6e4e7bf2 Mon Sep 17 00:00:00 2001 From: Sebastien Boeuf Date: Sat, 4 Dec 2021 13:57:43 +0100 Subject: [PATCH] deps: Patch kvm-ioctls to rely on latest from rust-vmm upstream This brings the support for KVM_SET_IDENTITY_MAP_ADDR ioctl. Signed-off-by: Sebastien Boeuf --- Cargo.lock | 3 +-- Cargo.toml | 1 + fuzz/Cargo.lock | 5 ++--- fuzz/Cargo.toml | 1 + 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6be7d5926..e3366fad3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -464,8 +464,7 @@ dependencies = [ [[package]] name = "kvm-ioctls" version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97422ba48d7ffb66fd4d18130f72ab66f9bbbf791fb7a87b9291cdcfec437593" +source = "git+https://github.com/rust-vmm/kvm-ioctls?branch=main#d22ef1f51852dfb055da38004e1a4fed81246f81" dependencies = [ "kvm-bindings", "libc", diff --git a/Cargo.toml b/Cargo.toml index 4623d9aef..0d806cf95 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,6 +36,7 @@ clap = { version = "2.34.0", features = ["wrap_help"] } # List of patched crates [patch.crates-io] kvm-bindings = { git = "https://github.com/cloud-hypervisor/kvm-bindings", branch = "ch-v0.5.0", features = ["with-serde", "fam-wrappers"] } +kvm-ioctls = { git = "https://github.com/rust-vmm/kvm-ioctls", branch = "main" } versionize_derive = { git = "https://github.com/cloud-hypervisor/versionize_derive", branch = "ch" } [dev-dependencies] diff --git a/fuzz/Cargo.lock b/fuzz/Cargo.lock index 7ff91f37e..c07d9c52e 100644 --- a/fuzz/Cargo.lock +++ b/fuzz/Cargo.lock @@ -147,7 +147,7 @@ dependencies = [ [[package]] name = "cloud-hypervisor" -version = "19.0.0" +version = "20.0.0" dependencies = [ "anyhow", "api_client", @@ -324,8 +324,7 @@ dependencies = [ [[package]] name = "kvm-ioctls" version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97422ba48d7ffb66fd4d18130f72ab66f9bbbf791fb7a87b9291cdcfec437593" +source = "git+https://github.com/rust-vmm/kvm-ioctls?branch=main#d22ef1f51852dfb055da38004e1a4fed81246f81" dependencies = [ "kvm-bindings", "libc", diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index 31e94aa68..0d0dc7ae2 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -26,6 +26,7 @@ path = ".." [patch.crates-io] kvm-bindings = { git = "https://github.com/cloud-hypervisor/kvm-bindings", branch = "ch-v0.5.0", features = ["with-serde", "fam-wrappers"] } +kvm-ioctls = { git = "https://github.com/rust-vmm/kvm-ioctls", branch = "main" } versionize_derive = { git = "https://github.com/cloud-hypervisor/versionize_derive", branch = "ch" } # Prevent this from interfering with workspaces