在 2021/9/4 5:55, Alex Williamson 写道:
> On Wed, 25 Aug 2021 15:56:16 +0800
> "Longpeng(Mike)" wrote:
>
>> The main difference of the failure path in vfio_msi_enable and
>> vfio_msi_disable_common is enable INTX or not.
>>
>> Extend the vfio_msi_disable_common to provide a arg to decide
>
>
On Wed, 25 Aug 2021 15:56:16 +0800
"Longpeng(Mike)" wrote:
> The main difference of the failure path in vfio_msi_enable and
> vfio_msi_disable_common is enable INTX or not.
>
> Extend the vfio_msi_disable_common to provide a arg to decide
"an arg"
> whether need to fallback, and then we can
The main difference of the failure path in vfio_msi_enable and
vfio_msi_disable_common is enable INTX or not.
Extend the vfio_msi_disable_common to provide a arg to decide
whether need to fallback, and then we can use this helper to
instead the redundant code in vfio_msi_enable.
Signed-off-by: