aboutsummaryrefslogtreecommitdiff
path: root/docs/pcie_sriov.txt
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2023-07-11 00:38:35 +0900
committerMichael S. Tsirkin <mst@redhat.com>2023-07-10 18:59:32 -0400
commit445416e3010a2525c577d692921979a64d88a998 (patch)
treea52987a133048c5bcd477259b56de3f3907e2374 /docs/pcie_sriov.txt
parent661dee7bd08dd93d15b898d43821bb46b2aa422c (diff)
downloadqemu-445416e3010a2525c577d692921979a64d88a998.zip
qemu-445416e3010a2525c577d692921979a64d88a998.tar.gz
qemu-445416e3010a2525c577d692921979a64d88a998.tar.bz2
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 'docs/pcie_sriov.txt')
-rw-r--r--docs/pcie_sriov.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/pcie_sriov.txt b/docs/pcie_sriov.txt
index 7eff7f2..a47aad0 100644
--- a/docs/pcie_sriov.txt
+++ b/docs/pcie_sriov.txt
@@ -48,7 +48,7 @@ setting up a BAR for a VF.
...
int ret = pcie_endpoint_cap_init(d, 0x70);
...
- pcie_ari_init(d, 0x100, 1);
+ pcie_ari_init(d, 0x100);
...
/* Add and initialize the SR/IOV capability */
@@ -78,7 +78,7 @@ setting up a BAR for a VF.
...
int ret = pcie_endpoint_cap_init(d, 0x60);
...
- pcie_ari_init(d, 0x100, 1);
+ pcie_ari_init(d, 0x100);
...
memory_region_init(mr, ... )
pcie_sriov_vf_register_bar(d, bar_nr, mr);