[PATCH v3 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                           | 28 +++++++++++++
 src/conf/numatune_conf.h                           |  1 +
 src/libvirt_private.syms                           |  2 +
 src/lxc/lxc_controller.c                           |  1 +
 src/qemu/qemu_command.c                            |  3 ++
 src/qemu/qemu_command.h                            |  1 +
 src/util/virbitmap.c                               | 49 ++++++++++++++++++++++
 src/util/virbitmap.h                               |  3 ++
 src/util/virnuma.c                                 | 48 ++++++++++++++-------
 src/util/virnuma.h                                 |  2 +
 ...rgv-numatune-static-nodeset-exceed-hostnode.xml | 35 ++++++++++++++++
 tests/qemuxml2argvmock.c                           |  9 ++++
 tests/qemuxml2argvtest.c                           |  1 +
 tests/virbitmaptest.c                              | 26 +++++++++++-
 14 files changed, 193 insertions(+), 16 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]