[PATCH v6 01/17] hw/vfio/pci: Ensure MSI and MSI-X do not overlap

2022-10-31 Thread Akihiko Odaki
pci_add_capability() checks whether capabilities overlap, and notifies its caller so that it can properly handle the case. However, in the most cases, the capabilities actually never overlap, and the interface incurred extra error handling code, which is often incorrect or suboptimal. For such case

Re: [PATCH v6 01/17] hw/vfio/pci: Ensure MSI and MSI-X do not overlap

2022-10-31 Thread Alex Williamson
On Mon, 31 Oct 2022 21:33:03 +0900 Akihiko Odaki wrote: > pci_add_capability() checks whether capabilities overlap, and notifies > its caller so that it can properly handle the case. However, in the > most cases, the capabilities actually never overlap, and the interface > incurred extra error ha