aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/parser.py
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2024-06-27 15:07:54 +0900
committerMichael S. Tsirkin <mst@redhat.com>2024-07-03 18:14:07 -0400
commit77718701157f6ca77ea7a57b536fa0a22f676082 (patch)
tree3dce0b19d3e760eb9adb5d07a8afcddc2c0a23fe /scripts/qapi/parser.py
parentc613ad25125bf3016aa8f81ce170f5ac91d2379f (diff)
downloadqemu-77718701157f6ca77ea7a57b536fa0a22f676082.zip
qemu-77718701157f6ca77ea7a57b536fa0a22f676082.tar.gz
qemu-77718701157f6ca77ea7a57b536fa0a22f676082.tar.bz2
pcie_sriov: Ensure VF function number does not overflow
pci_new() aborts when creating a VF with a function number equals to or is greater than PCI_DEVFN_MAX. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Message-Id: <20240627-reuse-v10-5-7ca0b8ed3d9f@daynix.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions