diff options
| author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2023-07-11 00:38:35 +0900 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2023-07-10 18:59:32 -0400 |
| commit | 445416e3010a2525c577d692921979a64d88a998 (patch) | |
| tree | a52987a133048c5bcd477259b56de3f3907e2374 /hw/net/igbvf.c | |
| parent | 661dee7bd08dd93d15b898d43821bb46b2aa422c (diff) | |
| download | focaccia-qemu-445416e3010a2525c577d692921979a64d88a998.tar.gz focaccia-qemu-445416e3010a2525c577d692921979a64d88a998.zip | |
pcie: Use common ARI next function number
Currently the only implementers of ARI is SR-IOV devices, and they behave similar. Share the ARI next function number. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Reviewed-by: Ani Sinha <anisinha@redhat.com> Message-Id: <20230710153838.33917-2-akihiko.odaki@daynix.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/net/igbvf.c')
| -rw-r--r-- | hw/net/igbvf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/igbvf.c b/hw/net/igbvf.c index 284ea61184..d55e1e8a6a 100644 --- a/hw/net/igbvf.c +++ b/hw/net/igbvf.c @@ -270,7 +270,7 @@ static void igbvf_pci_realize(PCIDevice *dev, Error **errp) hw_error("Failed to initialize AER capability"); } - pcie_ari_init(dev, 0x150, 1); + pcie_ari_init(dev, 0x150); } static void igbvf_pci_uninit(PCIDevice *dev) |