]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: move setting emulatorpin ahead of monitor showing up
authorZhou yimin <zhouyimin@huawei.com>
Thu, 16 Oct 2014 14:18:48 +0000 (22:18 +0800)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 21 Oct 2014 10:26:38 +0000 (12:26 +0200)
commit411cea638f6ec8503b7142a31e58b1cd85dbeaba
treed34ad2e409883c8a114a968051717e4c9d83adb1
parent8b9ec18d68d4739bfe2b3c5e87c6d6af9c160737
qemu: move setting emulatorpin ahead of monitor showing up

If VM is configured with many devices(including passthrough devices)
and large memory, libvirtd will take seconds(in the worst case) to
wait for monitor. In this period the qemu process may run on any
PCPU though I intend to pin emulator to the specified PCPU in xml
configuration.

Actually qemu process takes high cpu usage during vm startup.
So this is not the strict CPU isolation in this case.

Signed-off-by: Zhou yimin <zhouyimin@huawei.com>
src/qemu/qemu_process.c