[PATCH v2 0/3] add nodeset check in numatune

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]