[v4,4/5] hw/arm/smmuv3: Log a guest error when decoding an invalid STE
diff mbox series

Message ID 20190822172350.12008-5-eric.auger@redhat.com
State New
Headers show
  • ARM SMMUv3: Fix spurious notification errors and fail with VFIO
Related show

Commit Message

Auger Eric Aug. 22, 2019, 5:23 p.m. UTC
Log a guest error when encountering an invalid STE.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
 hw/arm/smmuv3.c | 1 +
 1 file changed, 1 insertion(+)

diff mbox series

diff --git a/hw/arm/smmuv3.c b/hw/arm/smmuv3.c
index a37e3da240..c353e4c27b 100644
--- a/hw/arm/smmuv3.c
+++ b/hw/arm/smmuv3.c
@@ -320,6 +320,7 @@  static int decode_ste(SMMUv3State *s, SMMUTransCfg *cfg,
     uint32_t config;
     if (!STE_VALID(ste)) {
+        qemu_log_mask(LOG_GUEST_ERROR, "invalid STE\n");
         goto bad_ste;