On 17/1/25 18:28, Nicholas Piggin wrote:
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: Michael S. Tsirkin <[email protected]>
Cc: Marcel Apfelbaum <[email protected]>
Cc: Dmitry Fleytman <[email protected]>
Cc: Akihiko Odaki <[email protected]>
Cc: Sriram Yagnaraman <[email protected]>
Signed-off-by: Nicholas Piggin <[email protected]>
---
  hw/pci/msix.c | 9 +++++++++
  1 file changed, 9 insertions(+)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>


Reply via email to