summary refs log tree commit diff stats
path: root/hw/pci/pci.c
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2025-01-16 18:00:58 +0900
committerMichael S. Tsirkin <mst@redhat.com>2025-02-20 18:23:19 -0500
commit3391d68e906114c364c173c7f3f7389d47d15a11 (patch)
tree547aecc0f1590f92c7ec4edb8b356c832d8dca86 /hw/pci/pci.c
parente8b827ce7c4bf9a334c46282779f234d1a011cd1 (diff)
downloadfocaccia-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