File tree 4 files changed +41
-8
lines changed
4 files changed +41
-8
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ default = []
8
8
9
9
[dependencies ]
10
10
byteorder = " 1.3.2"
11
- kvm-bindings = " 0.2.0"
12
- kvm-ioctls = " 0.4.0"
13
11
libc = " 0.2.60"
14
12
15
13
acpi_tables = { path = " ../acpi_tables" , optional = true }
@@ -23,5 +21,14 @@ features = ["backend-mmap"]
23
21
git = " https://github.com/rust-vmm/linux-loader"
24
22
features = [" elf" , " bzimage" ]
25
23
24
+ [dependencies .kvm-bindings ]
25
+ git = " https://github.com/bjzhjing/kvm-bindings"
26
+ branch = " serde-v2"
27
+ features = [" with-serde" , " fam-wrappers" ]
28
+
29
+ [dependencies .kvm-ioctls ]
30
+ git = " https://github.com/bjzhjing/kvm-ioctls"
31
+ branch = " switch-kvm-bindings-url"
32
+
26
33
[dev-dependencies ]
27
34
rand = " 0.7.0"
Original file line number Diff line number Diff line change @@ -6,13 +6,20 @@ authors = ["The Chromium OS Authors"]
6
6
[dependencies ]
7
7
byteorder = " 1.3.2"
8
8
epoll = " >=4.0.1"
9
- kvm-bindings = " 0.2.0"
10
- kvm-ioctls = " 0.4.0"
11
9
libc = " 0.2.60"
12
10
log = " 0.4.8"
13
11
vm-memory = { git = " https://github.com/rust-vmm/vm-memory" }
14
12
vmm-sys-util = " >=0.3.1"
15
13
14
+ [dependencies .kvm-bindings ]
15
+ git = " https://github.com/bjzhjing/kvm-bindings"
16
+ branch = " serde-v2"
17
+ features = [" with-serde" , " fam-wrappers" ]
18
+
19
+ [dependencies .kvm-ioctls ]
20
+ git = " https://github.com/bjzhjing/kvm-ioctls"
21
+ branch = " switch-kvm-bindings-url"
22
+
16
23
[dev-dependencies ]
17
24
tempfile = " 3.1.0"
18
25
Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ authors = ["The Cloud Hypervisor Authors"]
6
6
[dependencies ]
7
7
byteorder = " 1.3.2"
8
8
devices = { path = " ../devices" }
9
- kvm-bindings = " 0.2.0"
10
- kvm-ioctls = " 0.4.0"
11
9
libc = " 0.2.60"
12
10
log = " 0.4.8"
13
11
pci = { path = " ../pci" }
@@ -19,3 +17,12 @@ vmm-sys-util = ">=0.3.1"
19
17
[dependencies .vm-memory ]
20
18
git = " https://github.com/rust-vmm/vm-memory"
21
19
features = [" backend-mmap" ]
20
+
21
+ [dependencies .kvm-bindings ]
22
+ git = " https://github.com/bjzhjing/kvm-bindings"
23
+ branch = " serde-v2"
24
+ features = [" with-serde" , " fam-wrappers" ]
25
+
26
+ [dependencies .kvm-ioctls ]
27
+ git = " https://github.com/bjzhjing/kvm-ioctls"
28
+ branch = " switch-kvm-bindings-url"
Original file line number Diff line number Diff line change @@ -17,8 +17,6 @@ anyhow = "1.0"
17
17
arch = { path = " ../arch" }
18
18
devices = { path = " ../devices" }
19
19
epoll = " >=4.0.1"
20
- kvm-bindings = " 0.2.0"
21
- kvm-ioctls = " 0.4.0"
22
20
lazy_static = " 1.4.0"
23
21
libc = " 0.2.62"
24
22
log = " 0.4.8"
@@ -43,3 +41,17 @@ features = ["elf", "bzimage"]
43
41
[dependencies .vm-memory ]
44
42
git = " https://github.com/rust-vmm/vm-memory"
45
43
features = [" backend-mmap" ]
44
+
45
+ [dependencies .kvm-bindings ]
46
+ git = " https://github.com/bjzhjing/kvm-bindings"
47
+ branch = " serde-v2"
48
+ features = [" with-serde" , " fam-wrappers" ]
49
+
50
+ [dependencies .kvm-ioctls ]
51
+ git = " https://github.com/bjzhjing/kvm-ioctls"
52
+ branch = " switch-kvm-bindings-url"
53
+
54
+ [dependencies .vmm-serde ]
55
+ git = " https://github.com/jiangliu/vmm-serde"
56
+ branch = " v1"
57
+ features = [" serde_derive_ffi" ]
You can’t perform that action at this time.
0 commit comments