summaryrefslogtreecommitdiff
path: root/plugins/core.c
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2020-02-25 12:47:02 +0000
committerAlex Bennée <alex.bennee@linaro.org>2020-02-25 20:20:23 +0000
commitdcc474c69e6a59044b9bb54624bd636cbfd98aa9 (patch)
tree97fb3f34582e88ebc324103247db12f55ac69bc1 /plugins/core.c
parent9675a9c6e85398f370aed0157cb50426e8351c55 (diff)
downloadqemu-dcc474c69e6a59044b9bb54624bd636cbfd98aa9.zip
plugins/core: add missing break in cb_to_tcg_flags
Fixes: 54cb65d8588 Reported-by: Robert Henry <robhenry@microsoft.com> Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20200105072940.32204-1-cota@braap.org> Cc: qemu-stable@nongnu.org Message-Id: <20200225124710.14152-12-alex.bennee@linaro.org>
Diffstat (limited to 'plugins/core.c')
-rw-r--r--plugins/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/core.c b/plugins/core.c
index 9e1b9e7a91..ed863011ba 100644
--- a/plugins/core.c
+++ b/plugins/core.c
@@ -286,6 +286,7 @@ static inline uint32_t cb_to_tcg_flags(enum qemu_plugin_cb_flags flags)
switch (flags) {
case QEMU_PLUGIN_CB_RW_REGS:
ret = 0;
+ break;
case QEMU_PLUGIN_CB_R_REGS:
ret = TCG_CALL_NO_WG;
break;