Skip to content

Commit

Permalink
plugins/core: add missing break in cb_to_tcg_flags
Browse files Browse the repository at this point in the history
Fixes: 54cb65d
Reported-by: Robert Henry <[email protected]>
Signed-off-by: Emilio G. Cota <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
Cc: [email protected]
Message-Id: <[email protected]>
  • Loading branch information
cota authored and stsquad committed Feb 25, 2020
1 parent 9675a9c commit dcc474c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dcc474c

Please sign in to comment.