]> git.proxmox.com Git - mirror_qemu.git/blobdiff - vl.c
block: use aio_bh_schedule_oneshot
[mirror_qemu.git] / vl.c
diff --git a/vl.c b/vl.c
index 04fc1725f3293950ed585847c94b0a28c30444d5..f3abd99eb2f9b2e7153d06f911d20b5d21cca61b 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -784,6 +784,7 @@ void vm_start(void)
     if (runstate_is_running()) {
         qapi_event_send_stop(&error_abort);
     } else {
+        replay_enable_events();
         cpu_enable_ticks();
         runstate_set(RUN_STATE_RUNNING);
         vm_state_notify(1, RUN_STATE_RUNNING);
@@ -3019,6 +3020,7 @@ int main(int argc, char **argv, char **envp)
     Error *err = NULL;
     bool list_data_dirs = false;
 
+    qemu_init_cpu_list();
     qemu_init_cpu_loop();
     qemu_mutex_lock_iothread();