mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-23 06:05:21 +00:00
pvh: Introduce "pvh_boot" feature
Use a new feature called "pvh_boot" to enable using the PVH boot protocol if the guest kernel supports it. The feature can be enabled by building with: cargo build [--release] --features "pvh_boot" Once performance has been evaluated, this can be made part of the default set of features so that any guest that supports it boots using PVH as the preferred option as is the case in QEMU. Signed-off-by: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
This commit is contained in:
parent
a22bc3559f
commit
9e247c4e06
@ -40,6 +40,7 @@ acpi = ["vmm/acpi"]
|
|||||||
pci = ["vmm/pci_support"]
|
pci = ["vmm/pci_support"]
|
||||||
mmio = ["vmm/mmio_support"]
|
mmio = ["vmm/mmio_support"]
|
||||||
cmos = ["vmm/cmos"]
|
cmos = ["vmm/cmos"]
|
||||||
|
pvh_boot = ["vmm/pvh_boot"]
|
||||||
|
|
||||||
# Integration tests require a special environment to run in
|
# Integration tests require a special environment to run in
|
||||||
integration_tests = []
|
integration_tests = []
|
||||||
|
@ -10,6 +10,7 @@ acpi = ["acpi_tables","devices/acpi"]
|
|||||||
pci_support = ["pci", "vfio", "vm-virtio/pci_support"]
|
pci_support = ["pci", "vfio", "vm-virtio/pci_support"]
|
||||||
mmio_support = ["vm-virtio/mmio_support"]
|
mmio_support = ["vm-virtio/mmio_support"]
|
||||||
cmos = ["devices/cmos"]
|
cmos = ["devices/cmos"]
|
||||||
|
pvh_boot = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
arc-swap = ">=0.4.4"
|
arc-swap = ">=0.4.4"
|
||||||
|
Loading…
Reference in New Issue
Block a user