[Intel-gfx] [PATCH] vfio: fix deadlock between group lock and kvm lock

Matthew Rosato mjrosato at linux.ibm.com
Wed Feb 1 14:41:15 UTC 2023


On 2/1/23 7:42 AM, Liu, Yi L wrote:
>> From: Matthew Rosato <mjrosato at linux.ibm.com>
...
>> +	if (device->kvm) {
>> +		vfio_kvm_put_kvm(device);
>> +		device->put_kvm = NULL;
> 
> Can "device->put_kvm = NULL;" be part of vfio_kvm_put_kvm()?

Sure



More information about the Intel-gfx mailing list