summary refs log tree commit diff stats
path: root/scripts/qapi/expr.py
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2025-01-18 03:28:40 +1000
committerMichael S. Tsirkin <mst@redhat.com>2025-02-21 07:18:03 -0500
commit44ed44aefec571041fe3b3a8b6849613a74b520a (patch)
treeac0c4033da0a2ddc0c5ded56d9761ec34a6ba0d3 /scripts/qapi/expr.py
parent9e837c961a883392f8c4707a8d3d2e6c6aa793b6 (diff)
downloadfocaccia-qemu-44ed44aefec571041fe3b3a8b6849613a74b520a.tar.gz
focaccia-qemu-44ed44aefec571041fe3b3a8b6849613a74b520a.zip
hw/pci/msix: Warn on PBA writes
Of the MSI-X PBA pending bits, the PCI Local Bus Specification says:

  Software should never write, and should only read
  Pending Bits. If software writes to Pending Bits, the
  result is undefined.

Log a GUEST_ERROR message if the PBA is written to by software.

Cc: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Cc: Dmitry Fleytman <dmitry.fleytman@gmail.com>
Cc: Sriram Yagnaraman <sriram.yagnaraman@ericsson.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Message-Id: <20250117172842.406338-2-npiggin@gmail.com>
Reviewed-by: Phil Dennis-Jordan <phil@philjordan.eu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/qapi/expr.py')
0 files changed, 0 insertions, 0 deletions