Skip to content
Snippets Groups Projects
Commit adee0da0 authored by Zhenzhong Duan's avatar Zhenzhong Duan Committed by Cédric Le Goater
Browse files

vfio/pci: Disable INTx in vfio_realize error path


When vfio realize fails, INTx isn't disabled if it has been enabled.
This may confuse host side with unhandled interrupt report.

Fixes: c5478fea ("vfio/pci: Respond to KVM irqchip change notifier")
Signed-off-by: default avatarZhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: default avatarJoao Martins <joao.m.martins@oracle.com>
Reviewed-by: default avatarCédric Le Goater <clg@redhat.com>
Signed-off-by: default avatarCédric Le Goater <clg@redhat.com>
parent 0ddcb39c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment