Re: [libvirt] [PATCH v5 0/3] add nodeset check in numatune

2014-11-03 Thread Martin Kletzander

On Tue, Nov 04, 2014 at 10:44:38AM +0800, Chen Fan wrote:

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.



ACK && Pushed, thank you for the patches.

Martin


Chen Fan (3):
 bitmap: add virBitmapLastSetBit for finding the last bit position of
   bitmap
 numatune: add check for numatune nodeset range
 virnuma: use virNumaNodesetIsAvailable checking nodeset in
   virNumaSetupMemoryPolicy

src/conf/numatune_conf.c   | 28 
src/conf/numatune_conf.h   |  1 +
src/libvirt_private.syms   |  2 +
src/qemu/qemu_command.c|  4 ++
src/util/virbitmap.c   | 45 ++
src/util/virbitmap.h   |  3 ++
src/util/virnuma.c | 53 +-
src/util/virnuma.h |  1 +
...rgv-numatune-static-nodeset-exceed-hostnode.xml | 35 ++
tests/qemuxml2argvmock.c   |  9 
tests/qemuxml2argvtest.c   |  2 +
tests/virbitmaptest.c  | 13 +-
12 files changed, 184 insertions(+), 12 deletions(-)
create mode 100644 
tests/qemuxml2argvdata/qemuxml2argv-numatune-static-nodeset-exceed-hostnode.xml

--
1.9.3



signature.asc
Description: Digital signature
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] [PATCH v5 0/3] add nodeset check in numatune

2014-11-03 Thread Chen Fan
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):
  bitmap: add virBitmapLastSetBit for finding the last bit position of
bitmap
  numatune: add check for numatune nodeset range
  virnuma: use virNumaNodesetIsAvailable checking nodeset in
virNumaSetupMemoryPolicy

 src/conf/numatune_conf.c   | 28 
 src/conf/numatune_conf.h   |  1 +
 src/libvirt_private.syms   |  2 +
 src/qemu/qemu_command.c|  4 ++
 src/util/virbitmap.c   | 45 ++
 src/util/virbitmap.h   |  3 ++
 src/util/virnuma.c | 53 +-
 src/util/virnuma.h |  1 +
 ...rgv-numatune-static-nodeset-exceed-hostnode.xml | 35 ++
 tests/qemuxml2argvmock.c   |  9 
 tests/qemuxml2argvtest.c   |  2 +
 tests/virbitmaptest.c  | 13 +-
 12 files changed, 184 insertions(+), 12 deletions(-)
 create mode 100644 
tests/qemuxml2argvdata/qemuxml2argv-numatune-static-nodeset-exceed-hostnode.xml

-- 
1.9.3

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