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

2022-10-31 Thread Akihiko Odaki
On 2022/10/29 4:23, Alex Williamson wrote: On Sat, 29 Oct 2022 01:12:11 +0900 Akihiko Odaki wrote: On 2022/10/28 23:16, Alex Williamson wrote: On Fri, 28 Oct 2022 21:26:13 +0900 Akihiko Odaki wrote: vfio_add_std_cap() is designed to ensure that capabilities do not overlap, but it failed

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

2022-10-28 Thread Alex Williamson
On Sat, 29 Oct 2022 01:12:11 +0900 Akihiko Odaki wrote: > On 2022/10/28 23:16, Alex Williamson wrote: > > On Fri, 28 Oct 2022 21:26:13 +0900 > > Akihiko Odaki wrote: > > > >> vfio_add_std_cap() is designed to ensure that capabilities do not > >> overlap, but it failed to do so for MSI and MSI

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

2022-10-28 Thread Akihiko Odaki
On 2022/10/28 23:16, Alex Williamson wrote: On Fri, 28 Oct 2022 21:26:13 +0900 Akihiko Odaki wrote: vfio_add_std_cap() is designed to ensure that capabilities do not overlap, but it failed to do so for MSI and MSI-X capabilities. Ensure MSI and MSI-X capabilities do not overlap with others by

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

2022-10-28 Thread Alex Williamson
On Fri, 28 Oct 2022 21:26:13 +0900 Akihiko Odaki wrote: > vfio_add_std_cap() is designed to ensure that capabilities do not > overlap, but it failed to do so for MSI and MSI-X capabilities. > > Ensure MSI and MSI-X capabilities do not overlap with others by omitting > other overlapping capabilit

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

2022-10-28 Thread Akihiko Odaki
vfio_add_std_cap() is designed to ensure that capabilities do not overlap, but it failed to do so for MSI and MSI-X capabilities. Ensure MSI and MSI-X capabilities do not overlap with others by omitting other overlapping capabilities. Signed-off-by: Akihiko Odaki --- hw/vfio/pci.c | 63