vmm: cpu_manager: Add _PXM ACPI method to each vCPU

In order to allow a hotplugged vCPU to be assigned to the correct NUMA
node in the guest, the DSDT table must expose the _PXM method for each
vCPU. This method defines the proximity domain to which each vCPU should
be attached to.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2021-06-17 12:41:30 +02:00
parent 09c3ddd47d
commit a36ac96444
3 changed files with 48 additions and 5 deletions
+2
View File
@@ -569,6 +569,8 @@ impl Vm {
vm_ops,
#[cfg(feature = "tdx")]
tdx_enabled,
#[cfg(feature = "acpi")]
&numa_nodes,
)
.map_err(Error::CpuManager)?;