OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ccb563
)
hw/arm/smmuv3: Log a guest error when decoding an invalid STE
author
Eric Auger
<eric.auger@redhat.com>
Thu, 22 Aug 2019 17:23:49 +0000
(19:23 +0200)
committer
Peter Maydell
<peter.maydell@linaro.org>
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 <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>
hw/arm/smmuv3.c
patch
|
blob
|
history
diff --git
a/hw/arm/smmuv3.c
b/hw/arm/smmuv3.c
index
2eaf07f
..
31ac4b1
100644
(file)
--- 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;
}