mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
arch: Add optional distance-map node to FDT
The optional device tree node distance-map describes the relative distance (memory latency) between all NUMA nodes. Signed-off-by: Henry Wang <Henry.Wang@arm.com>
This commit is contained in:
committed by
Sebastien Boeuf
parent
165364e08b
commit
5a0a4bc505
@@ -1102,6 +1102,7 @@ impl Vm {
|
||||
&initramfs_config,
|
||||
&pci_space,
|
||||
&*gic_device,
|
||||
&self.numa_nodes,
|
||||
)
|
||||
.map_err(Error::ConfigureSystem)?;
|
||||
|
||||
@@ -2632,6 +2633,7 @@ mod tests {
|
||||
&*gic,
|
||||
&None,
|
||||
&(0x1_0000_0000, 0x1_0000),
|
||||
&BTreeMap::new(),
|
||||
)
|
||||
.is_ok())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user