From c0e7fd3b8d83f41618899d44351e1acaa19d05e6 Mon Sep 17 00:00:00 2001 From: Pierrick Bouvier Date: Fri, 20 Dec 2024 13:52:44 -0800 Subject: [PATCH] fix plugin tb_is_mem_only Signed-off-by: Pierrick Bouvier --- plugins/api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/api.c b/plugins/api.c index 24ea64e2de5c..6cb9d81a0a23 100644 --- a/plugins/api.c +++ b/plugins/api.c @@ -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; }