Re: [PATCH] KVM: x86: move LAPIC initialization after VMCS creation

2018-02-23 Thread Paolo Bonzini
On 24/02/2018 01:39, Liran Alon wrote: > I agree with the bug and the fix. > It makes sense to reset LAPIC in the same place other components are reset > rather than in it's creation. > > However, I failed to understand why you mention it fixes commit: > 851c1a18c541 ("KVM: nVMX: Fix injection to

Re: [PATCH] KVM: x86: move LAPIC initialization after VMCS creation

2018-02-23 Thread Liran Alon
- pbonz...@redhat.com wrote: > The initial reset of the local APIC is performed before the VMCS has > been > created, but it tries to do a vmwrite: > > vmwrite error: reg 810 value 4a00 (err 18944) > CPU: 54 PID: 38652 Comm: qemu-kvm Tainted: GW I > 4.16.0-0.rc2.git0.1.fc28.x8