Re: [PATCH 13/15] pcie: Add helpers to the SR/IOV API

2021-10-26 Thread Knut Omang
On Thu, 2021-10-07 at 18:24 +0200, Lukasz Maniak wrote: > From: Łukasz Gieryk > > Two convenience functions for retrieving: >  - the total number of VFs, >  - the PCIDevice object of the N-th VF. > > Signed-off-by: Łukasz Gieryk > --- >  hw/pci/pcie_sriov.c | 14 ++ >  includ

[PATCH 13/15] pcie: Add helpers to the SR/IOV API

2021-10-07 Thread Lukasz Maniak
From: Łukasz Gieryk Two convenience functions for retrieving: - the total number of VFs, - the PCIDevice object of the N-th VF. Signed-off-by: Łukasz Gieryk --- hw/pci/pcie_sriov.c | 14 ++ include/hw/pci/pcie_sriov.h | 8 2 files changed, 22 insertions(+) diff