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

View file

@ -21,6 +21,7 @@ lazy_static= "1.4.0"
default = ["acpi", "pci"]
acpi = ["vmm/acpi"]
pci = ["vmm/pci_support"]
mmio = ["vmm/mmio_support"]
# Integration tests require a special environment to run in
integration_tests = []