]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: Initialize cpuset for hotplugged vcpu as def->cpuset
authorOsier Yang <jyang@redhat.com>
Fri, 12 Oct 2012 09:50:47 +0000 (17:50 +0800)
committerOsier Yang <jyang@redhat.com>
Mon, 15 Oct 2012 04:16:02 +0000 (12:16 +0800)
commit0df1a790891b4d829b564d2afc2584a63dc7ade0
tree4186a23ea3075212c193f31497a0d62fbaf50fe4
parenta9bfe887f936879a50415818ee6e15b967700e0c
qemu: Initialize cpuset for hotplugged vcpu as def->cpuset

The onlined vcpu pinning policy should inherit def->cpuset if
it's not specified explicitly, and the affinity should be set
in this case. Oppositely, the offlined vcpu pinning policy should
be free()'ed.
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms
src/qemu/qemu_driver.c