]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: support emulator pinning
authorHu Tao <hutao@cn.fujitsu.com>
Tue, 21 Aug 2012 09:18:37 +0000 (17:18 +0800)
committerDaniel Veillard <veillard@redhat.com>
Wed, 22 Aug 2012 08:30:44 +0000 (16:30 +0800)
commit3dbf4838e4651b5fb58422e6a17bc232427eef93
tree8f116db2e1dbd5bdd980b2de0675afe7afcba945
parent151eee5a062bfb38f2dff694b162e1c3ebb65782
qemu: support emulator pinning

Introduce 2 APIs to support emulator threads pin in qemu driver.

    1) qemudDomainPinEmulator: setup emulator threads pin info.
    2) qemudDomainGetEmulatorPinInfo: get all emulator threads pin info.

They are similar to qemudDomainPinVcpuFlags and qemudDomainGetVcpuPinInfo.
And also, remoteDispatchDomainPinEmulatorFlags and remoteDispatchDomainGetEmulatorPinInfo
functions are introduced.

Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
src/qemu/qemu_driver.c