build: make PCI (virtio and vfio) disableable at build time

Although included by default it is now possible to build without PCI
support.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2019-09-11 17:07:33 +01:00
parent 6d27ac9dfc
commit c042483953
8 changed files with 49 additions and 29 deletions
+2 -1
View File
@@ -18,8 +18,9 @@ tempdir= "0.3.7"
lazy_static= "1.4.0"
[features]
default = ["acpi"]
default = ["acpi", "pci"]
acpi = ["vmm/acpi"]
pci = ["vmm/pci_support"]
# Integration tests require a special environment to run in
integration_tests = []