mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
It is possible to migrate a VM to a host that might have a different but compatible NUMA configuration. For example, it should be possible to move a `MemoryZone` from NUMA node 2 and 3 of the sender to nodes 0 and 1 on the receiver, given sender and receiver nodes are compatible with respect to available memory. In such a case, we need to adjust the mapping of guest memory to host nodes. We need this information for live migration as well as for snapshot (when performing cold migration). We consume this information in the following commit. Signed-off-by: Pascal Scholz <pascal.scholz@cyberus-technology.de> On-behalf-of: SAP pascal.scholz@sap.com