Re: [PATCH v3] KVM: LAPIC: Recalculate apic map in batch

From: Igor Mammedov
Date: Fri Jun 19 2020 - 11:38:36 EST


On Fri, 19 Jun 2020 16:10:43 +0200
Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote:

> On 19/06/20 14:36, Igor Mammedov wrote:
> > qemu-kvm -m 2G -smp 4,maxcpus=8 -monitor stdio
> > (qemu) device_add qemu64-x86_64-cpu,socket-id=4,core-id=0,thread-id=0
> >
> > in guest fails with:
> >
> > smpboot: do_boot_cpu failed(-1) to wakeup CPU#4
> >
> > which makes me suspect that INIT/SIPI wasn't delivered
> >
> > Is it a know issue?
> >
>
> No, it isn't. I'll revert.
wait for a day or 2,

I'll try to come up with a fix over weekend.

> Paolo
>