mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-12-25 08:35:01 +00:00
foreach_dimm() provides a guest numa node index, when used in conjunction with the guest-to-host numa node topology mapping one has to make sure that the correct host-side indices are used. This covers situations where the user defines a numaX with hostnodes=Y with Y != X. For instance: cores: 2 hotplug: disk,network,cpu,memory hugepages: 2 memory: 2048 numa: 1 numa1: memory=512,hostnodes=0,cpus=0-1,policy=bind numa2: memory=512,hostnodes=0,cpus=2-3,policy=bind Both numa IDs 1 and 2 passed by foreach_dimm() have to be mapped to host node 0. Note that this also reverses the foreach_reverse_dimm() numa node numbering as the current code, while walking sizes backwards, walked the numa IDs inside each size forward, which makes more sense. (Memory hot-unplug is still working with this.) |
||
|---|---|---|
| PVE | ||
| test | ||
| .gitignore | ||
| changelog.Debian | ||
| control.in | ||
| copyright | ||
| Makefile | ||
| modules-load.conf | ||
| pcitest.pl | ||
| pve-bridge | ||
| pve-bridge-hotplug | ||
| pve-bridgedown | ||
| pve-q35.cfg | ||
| pve-usb.cfg | ||
| qm | ||
| qmextract | ||
| qmrestore | ||
| sparsecp.c | ||
| triggers | ||
| utils.c | ||
| vmtar.c | ||