summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorEduardo Habkost2014-06-26 23:33:19 +0200
committerMichael S. Tsirkin2014-06-29 17:59:42 +0200
commit1945b9d8b03aad59e86bfe3a3194e6bbeffbad6a (patch)
treeffadce6c79151ed73ec25c4e3a0714f6230f1916 /docs
parentnuma: Keep track of NUMA nodes present on the command-line (diff)
downloadqemu-1945b9d8b03aad59e86bfe3a3194e6bbeffbad6a.tar.gz
qemu-1945b9d8b03aad59e86bfe3a3194e6bbeffbad6a.tar.xz
qemu-1945b9d8b03aad59e86bfe3a3194e6bbeffbad6a.zip
numa: Reject duplicate node IDs
The same nodeid shouldn't appear multiple times in the command-line. In addition to detecting command-line mistakes, this will fix a bug where nb_numa_nodes may become larger than MAX_NODES (and cause out-of-bounds access on the numa_info array). Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Hu Tao <hutao@cn.fujitsu.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions