]> Git Repo - qemu.git/commitdiff
hw/arm/smmuv3: Log a guest error when decoding an invalid STE
authorEric Auger <[email protected]>
Thu, 22 Aug 2019 17:23:49 +0000 (19:23 +0200)
committerPeter Maydell <[email protected]>
Tue, 3 Sep 2019 15:20:34 +0000 (16:20 +0100)
Log a guest error when encountering an invalid STE.

Signed-off-by: Eric Auger <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-id: 20190822172350[email protected]
Signed-off-by: Peter Maydell <[email protected]>
hw/arm/smmuv3.c

index 2eaf07fb5f6e055181314f09af53c457db95a378..31ac4b15c30e87e68ae41a567b45ff59d2b96345 100644 (file)
@@ -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;
     }
 
This page took 0.022948 seconds and 4 git commands to generate.