On 9/29/2026 8:30 AM, Matthew Rosato wrote:
The error paths in reg_ioat() that are triggered by a guest providing
invalid MPCIFC arguments use error_report(), which writes unconditionally
to stderr. A misbehaving guest can exploit this to flood the host log
by repeatedly issuing the instruction with bad arguments.
Replace these with qemu_log_mask(LOG_GUEST_ERROR, ...) so that the
messages are suppressible.
Fixes: 863f6f52b713 ("s390: implement pci instructions")
Fixes: dfcee1ea4c52 ("s390x/pci: add support for guests that request direct
mapping")
Cc:[email protected]
Signed-off-by: Matthew Rosato<[email protected]>
---
hw/s390x/s390-pci-inst.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Reviewed-by: Farhan Ali <[email protected]>