Re: [RFC 3/5] vfio/pci: Respond to KVM irqchip change notifier

2019-11-19 Thread David Gibson
On Thu, Oct 17, 2019 at 02:28:45PM -0600, Alex Williamson wrote: > On Thu, 17 Oct 2019 16:42:16 +1100 > David Gibson wrote: > > > VFIO PCI devices already respond to the pci intx routing notifier, in order > > to update kernel irqchip mappings when routing is updated. However this > > won't hand

Re: [RFC 3/5] vfio/pci: Respond to KVM irqchip change notifier

2019-10-17 Thread Alex Williamson
On Thu, 17 Oct 2019 16:42:16 +1100 David Gibson wrote: > VFIO PCI devices already respond to the pci intx routing notifier, in order > to update kernel irqchip mappings when routing is updated. However this > won't handle the case where the irqchip itself is replaced by a different > model while

[RFC 3/5] vfio/pci: Respond to KVM irqchip change notifier

2019-10-16 Thread David Gibson
VFIO PCI devices already respond to the pci intx routing notifier, in order to update kernel irqchip mappings when routing is updated. However this won't handle the case where the irqchip itself is replaced by a different model while retaining the same routing. This case can happen on the pseries