Skip to content

Commit

Permalink
fix plugin tb_is_mem_only
Browse files Browse the repository at this point in the history
Signed-off-by: Pierrick Bouvier <[email protected]>
  • Loading branch information
pbo-linaro committed Dec 20, 2024
1 parent f749349 commit c0e7fd3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ void qemu_plugin_register_vcpu_exit_cb(qemu_plugin_id_t id,

static bool tb_is_mem_only(void)
{
return false;
return tb_cflags(tcg_ctx->gen_tb) & CF_MEMI_ONLY;
}

Expand Down

0 comments on commit c0e7fd3

Please sign in to comment.