vmm: Add MMIO support

Add (non-default) support for using MMIO for virtio devices. This can be
tested by:

cargo build --no-default-features --features "mmio"

All necessary options will be included injected into the kernel
commandline.

Fixes: #243

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2019-09-11 17:25:07 +01:00
parent 26974c7625
commit 1099f0726b
3 changed files with 109 additions and 20 deletions
+1
View File
@@ -8,6 +8,7 @@ edition = "2018"
default = []
acpi = ["acpi_tables","devices/acpi", "arch/acpi"]
pci_support = ["pci", "vfio", "vm-virtio/pci_support"]
mmio_support = ["vm-virtio/mmio_support"]
[dependencies]
acpi_tables = { path = "../acpi_tables", optional = true }