Re: [PATCH 4/5] hisi_acc_vfio_pci: bugfix the problem of uninstalling driver

From: liulongfang
Date: Wed Dec 11 2024 - 20:46:32 EST


On 2024/12/9 21:49, Jason Gunthorpe wrote:
> On Fri, Dec 06, 2024 at 05:33:11PM +0800, Longfang Liu wrote:
>> In a live migration scenario. If the number of VFs at the
>> destination is greater than the source, the recovery operation
>> will fail and qemu will not be able to complete the process and
>> exit after shutting down the device FD.
>>
>> This will cause the driver to be unable to be unloaded normally due
>> to abnormal reference counting of the live migration driver caused
>> by the abnormal closing operation of fd.
>>
>> Signed-off-by: Longfang Liu <liulongfang@xxxxxxxxxx>
>> ---
>> drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c | 1 +
>> 1 file changed, 1 insertion(+)
>
> This one needs a fixes line and probably cc stable
>

OK.

Thanks.
Longfang

> Jason
>
> .
>