vmm: Forward device_id from NumaConfig to NumaNode
The device_id field was added to both NumaConfig and NumaNode as part of the Generic Initiator support, but create_numa_nodes() change was missed when the commits were reorganized. As a result, node.device_id is never propogated from the config to the runtime node and the ACPI SRAT Type 5 (Generic Initiator Affinity) entries were never emitted. Add the missing propogation so that create_srat_table() can resolve the device and emit the correct affinity structure Fixes: #7717 Signed-off-by: Saravanan D <saravanand@crusoe.ai>
This commit is contained in:
parent
0a5e79afce
commit
924baa9c0f
1 changed files with 2 additions and 0 deletions
|
|
@ -1243,6 +1243,8 @@ impl Vm {
|
|||
}
|
||||
}
|
||||
|
||||
node.device_id = config.device_id.clone();
|
||||
|
||||
numa_nodes.insert(config.guest_numa_id, node);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue