aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2018-10-21 13:30:35 -0400
committerAlex Bennée <alex.bennee@linaro.org>2019-10-28 15:12:38 +0000
commit30865f316856cc346f4af7ec28586c4a636b0109 (patch)
tree238e7c54ec573e96fe0be6908c4d4f3aecfea9ea /exec.c
parentc36f7a642cd81cff566ffe23e0a863ac4d7f1f91 (diff)
downloadqemu-30865f316856cc346f4af7ec28586c4a636b0109.zip
qemu-30865f316856cc346f4af7ec28586c4a636b0109.tar.gz
qemu-30865f316856cc346f4af7ec28586c4a636b0109.tar.bz2
cpu: hook plugin vcpu events
Signed-off-by: Emilio G. Cota <cota@braap.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/exec.c b/exec.c
index 9fc0d01..6e9787e 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);