Re: [PATCH] hw/pci: Warn when ARI/SR-IOV device has non-zero Function number

2023-07-13 Thread Akihiko Odaki
On 2023/07/12 21:06, Michael S. Tsirkin wrote: On Wed, Jul 12, 2023 at 08:50:32PM +0900, Akihiko Odaki wrote: On 2023/07/12 20:46, Michael S. Tsirkin wrote: On Wed, Jul 12, 2023 at 08:27:32PM +0900, Akihiko Odaki wrote: Current SR/IOV implementations assume that hardcoded Function numbers are

Re: [PATCH] hw/pci: Warn when ARI/SR-IOV device has non-zero Function number

2023-07-12 Thread Michael S. Tsirkin
On Wed, Jul 12, 2023 at 08:50:32PM +0900, Akihiko Odaki wrote: > On 2023/07/12 20:46, Michael S. Tsirkin wrote: > > On Wed, Jul 12, 2023 at 08:27:32PM +0900, Akihiko Odaki wrote: > > > Current SR/IOV implementations assume that hardcoded Function numbers > > > are always available and will not conf

Re: [PATCH] hw/pci: Warn when ARI/SR-IOV device has non-zero Function number

2023-07-12 Thread Akihiko Odaki
On 2023/07/12 20:46, Michael S. Tsirkin wrote: On Wed, Jul 12, 2023 at 08:27:32PM +0900, Akihiko Odaki wrote: Current SR/IOV implementations assume that hardcoded Function numbers are always available and will not conflict. It is somewhat non-trivial to make the Function numbers to use controlla

Re: [PATCH] hw/pci: Warn when ARI/SR-IOV device has non-zero Function number

2023-07-12 Thread Michael S. Tsirkin
On Wed, Jul 12, 2023 at 08:27:32PM +0900, Akihiko Odaki wrote: > Current SR/IOV implementations assume that hardcoded Function numbers > are always available and will not conflict. It is somewhat non-trivial > to make the Function numbers to use controllable to avoid Function > number conflicts so

[PATCH] hw/pci: Warn when ARI/SR-IOV device has non-zero Function number

2023-07-12 Thread Akihiko Odaki
Current SR/IOV implementations assume that hardcoded Function numbers are always available and will not conflict. It is somewhat non-trivial to make the Function numbers to use controllable to avoid Function number conflicts so ensure there is only one PF to make the assumption hold true. Also war