]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: Use live autoNodeset when numatune placement is auto
authorLuyao Huang <lhuang@redhat.com>
Mon, 12 Oct 2015 09:28:15 +0000 (17:28 +0800)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 28 Oct 2015 20:25:37 +0000 (16:25 -0400)
commit4eac55238f856d29d07a60448adb2e0b2f8e28b5
tree6a41e1f406cd0855dae906464084ef73058ab48e
parent3c7590e0a435d833895fc7b5be489e53e223ad95
qemu: Use live autoNodeset when numatune placement is auto

https://bugzilla.redhat.com/show_bug.cgi?id=1270715

Commit id '9deb96f' removed the code to fetch the nodeset from the
CpusetMems cgroup for a running vm in favor of using the return from
virDomainNumatuneFormatNodeset introduced by commit id '43b67f2e7'.
However, that API will return the value of the passed 'auto_nodeset'
when placement is VIR_DOMAIN_NUMATUNE_PLACEMENT_AUTO, which happens
to be NULL.

Since commit id 'c74d58ad' started using priv->autoNodeset in order
to manage the auto placement value during qemuProcessStart, it should
be passed along in order to return the correct value if the domain
requests the auto placement.

Signed-off-by: Luyao Huang <lhuang@redhat.com>
src/qemu/qemu_driver.c