]> xenbits.xensource.com Git - libvirt.git/commit
conf: Refactor emulatorpin handling
authorPeter Krempa <pkrempa@redhat.com>
Thu, 21 May 2015 12:55:18 +0000 (14:55 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 3 Jun 2015 07:42:07 +0000 (09:42 +0200)
commitee3da892f2817796a8886e2927f657f3fc6e9203
tree6eb283d4e3d6f9cf9f2a51daae354c1cc28e054a
parentff4c42ed7a917635fb93e9d5b2120b2d22d86504
conf: Refactor emulatorpin handling

Store the emulator pinning cpu mask as a pure virBitmap rather than the
virDomainPinDef since it stores only the bitmap and refactor
qemuDomainPinEmulator to do the same operations in a much saner way.

As a side effect virDomainEmulatorPinAdd and virDomainEmulatorPinDel can
be removed since they don't add any value.
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms
src/qemu/qemu_cgroup.c
src/qemu/qemu_driver.c
src/qemu/qemu_process.c