diff options
| author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2025-01-16 18:00:58 +0900 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2025-02-20 18:23:19 -0500 |
| commit | 3391d68e906114c364c173c7f3f7389d47d15a11 (patch) | |
| tree | 547aecc0f1590f92c7ec4edb8b356c832d8dca86 /hw/pci/pci.c | |
| parent | e8b827ce7c4bf9a334c46282779f234d1a011cd1 (diff) | |
| download | focaccia-qemu-3391d68e906114c364c173c7f3f7389d47d15a11.tar.gz focaccia-qemu-3391d68e906114c364c173c7f3f7389d47d15a11.zip | |
pcie_sriov: Ensure VF addr does not overflow
pci_new() aborts when creating a VF with addr >= PCI_DEVFN_MAX. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Message-Id: <20250116-reuse-v20-7-7cb370606368@daynix.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci/pci.c')
0 files changed, 0 insertions, 0 deletions