]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Ignore emulatorpin if vcpu placement is auto
authorOsier Yang <jyang@redhat.com>
Fri, 12 Oct 2012 14:44:35 +0000 (22:44 +0800)
committerOsier Yang <jyang@redhat.com>
Mon, 15 Oct 2012 04:19:54 +0000 (12:19 +0800)
commit5378effd57591f9215fb5fc27efc6c32dae2b634
tree609908dc62650db311ea9ba1eda27ab356cc10c1
parent0df1a790891b4d829b564d2afc2584a63dc7ade0
conf: Ignore emulatorpin if vcpu placement is auto

When vcpu placement is "auto", the domain process will be pinned
to advisory nodeset from querying numad, While emulatorpin will
override the pinning. That means both of them are to set the
pinning policy for domain process, but conflicts with each other.

This patch ingore emulatorpin if vcpu placement is "auto", because
<vcpu> placement can't be simply ignored for <numatune> placement
could default to it.
src/conf/domain_conf.c