[libvirt] [PATCH v2 0/3] add nodeset check in numatune
Chen Fan
chen.fan.fnst at cn.fujitsu.com
Tue Oct 28 08:22:20 UTC 2014
when setting elements memnode and nodeset in attribute numatune more
than the host nodes in XML file, VM boot should fail. so add check for
that.
Chen Fan (3):
numatune: add check for numatune nodeset range
lxc controller: add check for numatune
virnuma: remove redundant check for numanode
src/conf/numatune_conf.c | 21 -------
src/conf/numatune_conf.h | 19 ++++++
src/libvirt_private.syms | 1 +
src/lxc/lxc_controller.c | 3 +-
src/qemu/qemu_command.c | 3 +
src/qemu/qemu_command.h | 1 +
src/util/virnuma.c | 70 +++++++++++++++++-----
src/util/virnuma.h | 2 +
...rgv-numatune-static-nodeset-exceed-hostnode.xml | 35 +++++++++++
tests/qemuxml2argvmock.c | 9 +++
tests/qemuxml2argvtest.c | 1 +
11 files changed, 128 insertions(+), 37 deletions(-)
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-numatune-static-nodeset-exceed-hostnode.xml
--
1.9.3
More information about the libvir-list
mailing list