mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
build: Remove "pvh_boot" feature flag
This feature is stable and there is no need for this to be behind a flag. This will also reduce the time needed to run the integration test as we will not be running them all again under the flag. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
@@ -10,7 +10,6 @@ acpi = ["acpi_tables","devices/acpi"]
|
||||
pci_support = ["pci", "vfio", "vm-virtio/pci_support"]
|
||||
mmio_support = ["vm-virtio/mmio_support"]
|
||||
cmos = ["devices/cmos"]
|
||||
pvh_boot = []
|
||||
|
||||
[dependencies]
|
||||
arc-swap = ">=0.4.4"
|
||||
|
||||
+1
-2
@@ -465,8 +465,7 @@ impl Vm {
|
||||
// Assume by default Linux boot protocol is used and not PVH
|
||||
let mut entry_point_addr: GuestAddress = entry_addr.kernel_load;
|
||||
|
||||
let boot_prot = if cfg!(feature = "pvh_boot") && entry_addr.pvh_entry_addr.is_some()
|
||||
{
|
||||
let boot_prot = if entry_addr.pvh_entry_addr.is_some() {
|
||||
// entry_addr.pvh_entry_addr field is safe to unwrap here
|
||||
entry_point_addr = entry_addr.pvh_entry_addr.unwrap();
|
||||
BootProtocol::PvhBoot
|
||||
|
||||
Reference in New Issue
Block a user