plugins/core: add missing break in cb_to_tcg_flags
PATCH 1/1 plugins/core: add missing break in cb_to_tcg_flags
Reported-by Robert Henry <[email protected]>
Signed-off-by Emilio G. Cota <[email protected]>
--- plugins/core.c | 1 + 1 file changed, 1 insertion(+)
plugins/core.c +1 -0
@@ -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 ;
Signature · 1 line
2.20.1
Quoted 5 lines · Emilio G. Cota
Reported-by Robert Henry <[email protected]>Signed-off-by Emilio G. Cota <[email protected]>--- plugins/core.c | 1 + 1 file changed, 1 insertion(+)
Reviewed-by Richard Henderson <[email protected]>
r~
Alex Bennée
AppliedQuoted 2 lines · Emilio G. Cota
Reported-by Robert Henry <[email protected]>Signed-off-by Emilio G. Cota <[email protected]>
Queued to plugins/next, thanks.
Quoted 16 lines
--- plugins/core.c | 1 + 1 file changed, 1 insertion(+)plugins/core.c +1
-0@@ -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 ;
Signature · 1 line
Alex Bennée