Re: [PATCH] KVM: arm64: vgic: Fix soft lockup during VM teardown

From: Marc Zyngier
Date: Mon Jan 23 2023 - 06:24:00 EST


On Sat, 21 Jan 2023 15:35:48 +0000,
Shanker Donthineni <sdonthineni@xxxxxxxxxx> wrote:
>
>
>
> On 1/20/23 06:00, Marc Zyngier wrote:
> > What I am asking agin is: is there any overlap between any vgic ioctl
> > and the teardown of the VM? Do you ever see kvm_vm_release() being
> > called before kvm_device_release()?
> >
> > Because that's the overlap I've been talking all along.
>
> I've not observed overlap of kvm_vm_release() with ioctls
> kvm_device_ioctl(), kvm_vcpu_ioctl() and kvm_vm_ioctl() for
> 3hrs. Test created hundreds of VMs and teardowns.

OK, that's reassuring. Thanks for looking into this.

M.

--
Without deviation from the norm, progress is not possible.