]> xenbits.xensource.com Git - libvirt.git/commit
numad: Copy 'placement' of <numatune> to <vcpu> by default
authorOsier Yang <jyang@redhat.com>
Tue, 8 May 2012 16:04:35 +0000 (00:04 +0800)
committerEric Blake <eblake@redhat.com>
Tue, 8 May 2012 22:57:36 +0000 (16:57 -0600)
commit8d26a7fd4e3f1f3410d9bd5eef071351190068ca
tree120cd0bdf2130ab154e2945121ba93a16a687666
parent97010eb1f14dfe705d58bf94ad4eec2cb293f560
numad: Copy 'placement' of <numatune> to <vcpu> by default

With this patch, one can also fully drive numad by:

  <vcpu>2</vcpu>
  <numatune>
    <memory placement='auto'/>
  </numatune>

New tests are added.
12 files changed:
src/conf/domain_conf.c
tests/qemuxml2argvdata/qemuxml2argv-numad-auto-memory-vcpu-cpuset.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-numad-auto-memory-vcpu-cpuset.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-numad-auto-memory-vcpu-no-cpuset-and-placement.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-numad-auto-memory-vcpu-no-cpuset-and-placement.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-numad-static-memory-auto-vcpu.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-numad-static-memory-auto-vcpu.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-numatune-memory.xml
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/qemuxml2xmlout-numad-auto-memory-vcpu-cpuset.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/qemuxml2xmlout-numad-auto-memory-vcpu-no-cpuset-and-placement.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c