Re: [PATCH v5 3/7] vfio/pci: Disable INTx in vfio_realize error path

2023-07-02 Thread Cédric Le Goater
On 6/30/23 09:36, Zhenzhong Duan wrote: When vfio realize fails, INTx isn't disabled if it has been enabled. This may confuse host side with unhandled interrupt report. Fixes: c5478fea27ac ("vfio/pci: Respond to KVM irqchip change notifier") Signed-off-by: Zhenzhong Duan Reviewed-by: Cédric L

Re: [PATCH v5 3/7] vfio/pci: Disable INTx in vfio_realize error path

2023-06-30 Thread Joao Martins
On 30/06/2023 08:36, Zhenzhong Duan wrote: > When vfio realize fails, INTx isn't disabled if it has been enabled. > This may confuse host side with unhandled interrupt report. > > Fixes: c5478fea27ac ("vfio/pci: Respond to KVM irqchip change notifier") > Signed-off-by: Zhenzhong Duan Reviewed-by

[PATCH v5 3/7] vfio/pci: Disable INTx in vfio_realize error path

2023-06-30 Thread Zhenzhong Duan
When vfio realize fails, INTx isn't disabled if it has been enabled. This may confuse host side with unhandled interrupt report. Fixes: c5478fea27ac ("vfio/pci: Respond to KVM irqchip change notifier") Signed-off-by: Zhenzhong Duan --- hw/vfio/pci.c | 3 +++ 1 file changed, 3 insertions(+) diff