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:
Rob Bradford
2020-03-19 12:18:31 +00:00
parent 477bc17f18
commit 0788600702
5 changed files with 2 additions and 18 deletions
-1
View File
@@ -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
View File
@@ -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