]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Properly free vcpupin info for unplugged CPUs
authorJán Tomko <jtomko@redhat.com>
Tue, 22 Apr 2014 12:11:54 +0000 (14:11 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 22 Apr 2014 12:49:25 +0000 (14:49 +0200)
commita0a8dc695e9e20fa8b4ebe9c7ad697a4e9b3ac41
tree812b9cc889c3426d3de42514116a636ce4b69658
parent3d5c29a17c31189e3ab60a7fdeb39913c8de2b21
Properly free vcpupin info for unplugged CPUs

Remove the pointer from def->cputune.vcpupin after unplugging
the CPU and also free the bitmap contained in the structure
by calling virDomainVcpuPinDel instead of VIR_FREE.

Introduced by commit 0df1a79.

This makes virDomainLookupVcpuPin redundant.

https://bugzilla.redhat.com/show_bug.cgi?id=1088165
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms
src/qemu/qemu_driver.c