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:
Saravanan D 2026-02-17 23:25:22 +00:00 committed by Rob Bradford
parent 0a5e79afce
commit 924baa9c0f

View file

@ -1243,6 +1243,8 @@ impl Vm {
}
}
node.device_id = config.device_id.clone();
numa_nodes.insert(config.guest_numa_id, node);
}
}