mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: acpi: Advertise the correct PCI bus range
Since Cloud-Hypervisor currently support one single PCI bus, we must reflect this through the MCFG table, as it advertises the first bus and the last bus available. In this case both are bus 0. This patch saves quite some time during guest kernel boot, as it prevents from checking each bus for available devices. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
@@ -180,7 +180,7 @@ pub fn create_acpi_tables(
|
||||
base_address: layout::PCI_MMCONFIG_START.0,
|
||||
segment: 0,
|
||||
start: 0,
|
||||
end: 0xff,
|
||||
end: 0,
|
||||
..Default::default()
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user