Skip to content

Commit b243670

Browse files
committed
Use kvm-ioctl and kvm-bindings for cca
This commit will be removed when changes are in upstream. Signed-off-by: Matias Ezequiel Vara Larsen <[email protected]>
1 parent 5c3f283 commit b243670

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

src/arch/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ smbios = { path = "../smbios" }
1818
utils = { path = "../utils" }
1919

2020
[target.'cfg(target_os = "linux")'.dependencies]
21-
kvm-bindings = { version = ">=0.8", features = ["fam-wrappers"] }
22-
kvm-ioctls = ">=0.17"
21+
kvm-bindings = { version = ">=0.8", features = ["fam-wrappers"] , git = "https://github.com/virtee/kvm-bindings", branch = "add_bindings_for_realms" }
22+
kvm-ioctls = { version = ">=0.17", git = "https://github.com/virtee/kvm-ioctls", branch = "cca" }
23+
2324

2425
[target.'cfg(target_arch = "aarch64")'.dependencies]
2526
vm-fdt = ">= 0.2.0"

src/cpuid/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ edition = "2021"
88
vmm-sys-util = ">=0.11"
99

1010
[target.'cfg(target_os = "linux")'.dependencies]
11-
kvm-bindings = { version = ">=0.8", features = ["fam-wrappers"] }
12-
kvm-ioctls = ">=0.17"
11+
kvm-bindings = { version = ">=0.8", features = ["fam-wrappers"] , git = "https://github.com/virtee/kvm-bindings", branch = "add_bindings_for_realms" }
12+
kvm-ioctls = { version = ">=0.17", git = "https://github.com/virtee/kvm-ioctls", branch = "cca" }

src/libkrun/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ libc = ">=0.2.39"
2222
log = "0.4.0"
2323
once_cell = "1.4.1"
2424

25+
kvm-bindings = { version = ">=0.8", features = ["fam-wrappers"] , git = "https://github.com/virtee/kvm-bindings", branch = "add_bindings_for_realms" }
26+
2527
devices = { path = "../devices" }
2628
polly = { path = "../polly" }
2729
utils = { path = "../utils" }

src/vmm/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ nix = "0.24.1"
4141
cpuid = { path = "../cpuid" }
4242

4343
[target.'cfg(target_os = "linux")'.dependencies]
44-
kvm-bindings = { version = ">=0.10", features = ["fam-wrappers"] }
45-
kvm-ioctls = ">=0.17"
44+
kvm-bindings = { version = ">=0.8", features = ["fam-wrappers"] , git = "https://github.com/virtee/kvm-bindings", branch = "add_bindings_for_realms" }
45+
kvm-ioctls = { version = ">=0.17", git = "https://github.com/virtee/kvm-ioctls", branch = "cca" }
4646

4747
[target.'cfg(target_os = "macos")'.dependencies]
4848
hvf = { path = "../hvf" }

0 commit comments

Comments
 (0)