]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf, schema: add 'id' field for cells
authorMartin Kletzander <mkletzan@redhat.com>
Thu, 22 May 2014 07:13:05 +0000 (09:13 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 16 Jul 2014 18:15:45 +0000 (20:15 +0200)
commit992000e6d8de16bf3457969a5e46998325f7023f
treeef96ecd4f11e14b92d760023054261005e1aa888
parent775c46956e85921f04014340aa25da37ede3c101
conf, schema: add 'id' field for cells

In XML format, by definition, order of fields should not matter, so
order of parsing the elements doesn't affect the end result.  When
specifying guest NUMA cells, we depend only on the order of the 'cell'
elements.  With this patch all older domain XMLs are parsed as before,
but with the 'id' attribute they are parsed and formatted according to
that field.  This will be useful when we have tuning settings for
particular guest NUMA node.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
12 files changed:
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/cpu_conf.c
src/conf/cpu_conf.h
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-cpu-numa1.xml
tests/qemuxml2argvdata/qemuxml2argv-cpu-numa2.xml
tests/qemuxml2argvdata/qemuxml2argv-cpu-numa3.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/qemuxml2xmlout-cpu-numa1.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/qemuxml2xmlout-cpu-numa2.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c