mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: acpi: Create the CPU entries in the DSDT for all vCPUs
CPU entries need to be created for every potential vCPU in the system. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
+2
-2
@@ -513,7 +513,7 @@ impl Vm {
|
||||
)
|
||||
.map_err(|_| Error::CmdLine)?;
|
||||
let boot_vcpus = self.cpu_manager.lock().unwrap().boot_vcpus();
|
||||
let max_vcpus = self.cpu_manager.lock().unwrap().max_vcpus();
|
||||
let _max_vcpus = self.cpu_manager.lock().unwrap().max_vcpus();
|
||||
|
||||
#[allow(unused_mut, unused_assignments)]
|
||||
let mut rsdp_addr: Option<GuestAddress> = None;
|
||||
@@ -534,7 +534,7 @@ impl Vm {
|
||||
crate::acpi::create_acpi_tables(
|
||||
&mem,
|
||||
boot_vcpus,
|
||||
max_vcpus,
|
||||
_max_vcpus,
|
||||
self.config.serial.mode != ConsoleOutputMode::Off,
|
||||
start_of_device_area,
|
||||
end_of_range,
|
||||
|
||||
Reference in New Issue
Block a user