On Thu, Oct 16, 2014 at 10:18:48PM +0800, Wang Rui wrote:
From: Zhou yimin <zhouyimin(a)huawei.com>
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.
This makes sense and it's also the only TID we can pin before
accessing the monitor. I worried about this patch breaking other
pinnings, but whatever I tried it just works.
ACK and I'll push it shortly.
Martin