mirror of https://github.com/xemu-project/xemu.git
hw/arm/smmuv3: Log a guest error when decoding an invalid STE
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> Message-id: 20190822172350.12008-5-eric.auger@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
8ccb563849
commit
51b6d3681f
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue