Re: [PATCH] kvm/vfio: Fix potential deadlock on vfio group_lock
From: Jason Gunthorpe
Date: Tue Jan 31 2023 - 09:48:42 EST
On Tue, Jan 31, 2023 at 09:46:18AM -0500, Anthony Krowiak wrote:
> > Maybe you should split that lock and have a dedicated apcb lock?
>
> I don't think that would suffice for taking the vCPUs out of SIE.
Then I think we have to keep this patch and also do Matthew's patch to
keep kvm refs inside vfio as well.
Jason