mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
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:
committed by
Rob Bradford
parent
0a5e79afce
commit
924baa9c0f
@@ -1243,6 +1243,8 @@ impl Vm {
|
||||
}
|
||||
}
|
||||
|
||||
node.device_id = config.device_id.clone();
|
||||
|
||||
numa_nodes.insert(config.guest_numa_id, node);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user