arch, pci, vmm: Initial switch to the hypervisor crate

Start moving the vmm, arch and pci crates to being hypervisor agnostic
by using the hypervisor trait and abstractions. This is not a complete
switch and there are still some remaining KVM dependencies.

Signed-off-by: Muminul Islam <muislam@microsoft.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Muminul Islam
2020-06-01 19:29:54 -07:00
committed by Samuel Ortiz
parent c48d0c1a67
commit e4dee57e81
24 changed files with 294 additions and 1023 deletions

8
Cargo.lock generated
View File

@@ -57,8 +57,10 @@ name = "arch"
version = "0.1.0"
dependencies = [
"acpi_tables",
"anyhow",
"arch_gen",
"byteorder",
"hypervisor",
"kvm-bindings",
"kvm-ioctls",
"libc",
@@ -716,8 +718,7 @@ dependencies = [
"anyhow",
"byteorder",
"devices",
"kvm-bindings",
"kvm-ioctls",
"hypervisor",
"libc",
"log 0.4.8",
"serde",
@@ -1574,8 +1575,7 @@ dependencies = [
"credibility",
"devices",
"epoll",
"kvm-bindings",
"kvm-ioctls",
"hypervisor",
"lazy_static",
"libc",
"linux-loader",