mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-11-04 19:11:11 +00:00
vmm: Construct PCI DSDT data from all segments
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
fbb385834a
commit
4f5c179b9b
@ -3903,8 +3903,11 @@ impl Aml for DeviceManager {
|
||||
.unwrap()
|
||||
.to_aml_bytes();
|
||||
|
||||
let pci_dsdt_data = self.pci_segments[0].to_aml_bytes();
|
||||
bytes.extend_from_slice(pci_dsdt_data.as_slice());
|
||||
for segment in &self.pci_segments {
|
||||
let pci_dsdt_data = segment.to_aml_bytes();
|
||||
bytes.extend_from_slice(pci_dsdt_data.as_slice());
|
||||
}
|
||||
|
||||
bytes.extend_from_slice(mbrd_dsdt_data.as_slice());
|
||||
if self.config.lock().unwrap().serial.mode != ConsoleOutputMode::Off {
|
||||
bytes.extend_from_slice(com1_dsdt_data.as_slice());
|
||||
|
Loading…
Reference in New Issue
Block a user