Re: [PATCH] KVM: arm/arm64: Fix vgic init race

2018-07-09 Thread Marc Zyngier
On 03/07/18 22:26, Christoffer Dall wrote: > The vgic_init function can race with kvm_arch_vcpu_create() which does > not hold kvm_lock() and we therefore have no synchronization primitives > to ensure we're doing the right thing. > > As the user is trying to initialize or run the VM while at the

Re: [PATCH] KVM: arm/arm64: Fix vgic init race

2018-07-04 Thread Auger Eric
Hi Christoffer, On 07/03/2018 11:26 PM, Christoffer Dall wrote: > The vgic_init function can race with kvm_arch_vcpu_create() which does > not hold kvm_lock() and we therefore have no synchronization primitives > to ensure we're doing the right thing. > > As the user is trying to initialize or