Go to file
Wolfgang Bumiller aaff69ad50 memory: hugepages: map numa node IDs to host and guest correctly
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.)
2016-08-03 08:56:30 +02:00
PVE memory: hugepages: map numa node IDs to host and guest correctly 2016-08-03 08:56:30 +02:00
test Rework snapshot code, has_feature 2016-03-08 11:42:37 +01:00
.gitignore add qm.bash-completion to .gitignore 2015-09-14 10:37:12 +02:00
changelog.Debian bump version to 4.0-85 2016-07-11 14:49:03 +02:00
control.in add dependency on DBus 2016-06-20 11:48:09 +02:00
copyright change license to AGPL3 2011-08-24 10:07:52 +02:00
Makefile bump version to 4.0-85 2016-07-11 14:49:03 +02:00
modules-load.conf remove unnecessary init.d, postint, postrm and qmupdate scripts 2015-02-27 16:09:41 +01:00
pcitest.pl use warnings instead of global -w flag 2013-10-01 13:14:49 +02:00
pve-bridge fix #909: pass rate to tap_plug() 2016-03-08 15:52:31 +01:00
pve-bridge-hotplug pve-bridge-hotplug code deduplication 2015-11-14 10:34:22 +01:00
pve-bridgedown add pve-bridgedown script 2014-05-08 08:37:04 +02:00
pve-q35.cfg fix syntax in pve-q35.cfg 2016-06-22 09:13:16 +02:00
pve-usb.cfg imported from svn 'qemu-server/pve2' 2011-08-23 07:47:04 +02:00
qm convert qmrestore into a PVE::CLI class 2015-10-05 13:10:24 +02:00
qmextract qmextract: use PVE::Storage; 2016-03-30 10:38:31 +02:00
qmrestore convert qmrestore into a PVE::CLI class 2015-10-05 13:10:24 +02:00
sparsecp.c use correct format to print time_t (%zd) 2012-02-13 11:22:03 +01:00
triggers use noawait triggers for pve-api-updates 2015-06-01 12:35:16 +02:00
utils.c fix bug in vmtar 2012-10-25 10:01:24 +02:00
vmtar.c fix bug in vmtar 2012-10-25 10:01:24 +02:00