RE: [PATCH V4 04/11] vfio/pci: Move to single error path

From: Tian, Kevin
Date: Fri Apr 28 2023 - 02:34:27 EST


> From: Chatre, Reinette <reinette.chatre@xxxxxxxxx>
> Sent: Friday, April 28, 2023 1:36 AM
>
> Enabling and disabling of an interrupt involves several steps
> that can fail. Cleanup after failure is done when the error
> is encountered, resulting in some repetitive code.
>
> Support for dynamic contexts will introduce more steps during
> interrupt enabling and disabling.
>
> Transition to centralized exit path in preparation for dynamic
> contexts to eliminate duplicate error handling code.
>
> Signed-off-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>

Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>