From 30865f316856cc346f4af7ec28586c4a636b0109 Mon Sep 17 00:00:00 2001 From: Emilio G. Cota Date: Sun, 21 Oct 2018 13:30:35 -0400 Subject: cpu: hook plugin vcpu events Signed-off-by: Emilio G. Cota Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée --- exec.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'exec.c') diff --git a/exec.c b/exec.c index 9fc0d01895..6e9787e7cd 100644 --- a/exec.c +++ b/exec.c @@ -975,6 +975,8 @@ void cpu_exec_realizefn(CPUState *cpu, Error **errp) } tlb_init(cpu); + qemu_plugin_vcpu_init_hook(cpu); + #ifndef CONFIG_USER_ONLY if (qdev_get_vmsd(DEVICE(cpu)) == NULL) { vmstate_register(NULL, cpu->cpu_index, &vmstate_cpu_common, cpu); -- cgit v1.2.3-55-g7522