]> git.proxmox.com Git - mirror_qemu.git/blobdiff - target-i386/cpu.c
target-i386: Use cpu_exec_enter/exit qom hooks
[mirror_qemu.git] / target-i386 / cpu.c
index 90d0a05eb1cd89037905bf428fdb5b00643cac28..223e43e04d53eed5c73f97738dc363ca8608d6fb 100644 (file)
@@ -2942,6 +2942,8 @@ static void x86_cpu_common_class_init(ObjectClass *oc, void *data)
 #ifndef CONFIG_USER_ONLY
     cc->debug_excp_handler = breakpoint_handler;
 #endif
+    cc->cpu_exec_enter = x86_cpu_exec_enter;
+    cc->cpu_exec_exit = x86_cpu_exec_exit;
 }
 
 static const TypeInfo x86_cpu_type_info = {