[libvirt] [PATCH] qemu: fix setting of VM CPU affinity with TCG

Ján Tomko jtomko at redhat.com
Wed Feb 11 09:18:43 UTC 2015


On Tue, Feb 10, 2015 at 04:25:51PM +0000, Daniel P. Berrange wrote:
> If a previous commit I fixed the incorrect handling of vcpu pids
> for TCG mode QEMU:
> 

...

> 
> To fix this we must update qemuProcessSetVcpuAffinities so that it
> only reports a fatal error if the per-VCPU cpu mask is different
> from the VM level cpu mask.
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  src/qemu/qemu_process.c | 15 ++++++++++++---
>  1 file changed, 12 insertions(+), 3 deletions(-)
> 

ACK

virBitmapEqual works on NULL bitmaps since commit 20448c2, so the v2
is not needed.

Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150211/528d7c15/attachment-0001.sig>


More information about the libvir-list mailing list