mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-01 17:35:19 +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:
parent
ec56710c9b
commit
2eaf1c70c0
@ -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()
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user