mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Delegate CPU related ACPI tables to CpuManager
Move the code for generating the MADT (APIC) table and the DSDT generation for CPU related functionality into the CpuManager. There is no functional change just code rearrangement. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
+1
-2
@@ -539,12 +539,11 @@ impl Vm {
|
||||
use crate::config::ConsoleOutputMode;
|
||||
crate::acpi::create_acpi_tables(
|
||||
&mem,
|
||||
boot_vcpus,
|
||||
_max_vcpus,
|
||||
self.config.lock().unwrap().serial.mode != ConsoleOutputMode::Off,
|
||||
start_of_device_area,
|
||||
end_of_range,
|
||||
self.devices.virt_iommu(),
|
||||
&self.cpu_manager,
|
||||
)
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user