mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 21:55:20 +00:00
vmm: Add I/O port range to PCI bus resources
The Linux kernel expects that any PCI devices that advertise I/O bars have use an address that is within the range advertised by the bus itself. Unfortunately we were not advertising any I/O ports associated with the PCI bus in the ACPI tables. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
58461ce250
commit
4d25eaa24a
@ -3779,6 +3779,10 @@ impl Aml for DeviceManager {
|
||||
start_of_device_area,
|
||||
end_of_device_area,
|
||||
),
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
&aml::AddressSpace::new_io(0u16, 0x0cf7u16),
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
&aml::AddressSpace::new_io(0x0d00u16, 0xffffu16),
|
||||
]),
|
||||
);
|
||||
pci_dsdt_inner_data.push(&crs);
|
||||
|
Loading…
Reference in New Issue
Block a user