]> Git Repo - qemu.git/blobdiff - vl.c
linux-user: fix compiler error on nptl
[qemu.git] / vl.c
diff --git a/vl.c b/vl.c
index 9ee6479b7c6bdd2e0710b8f73b77409b93cbdd4b..2cd263eda4cb2f48fcb54f99022f6d6b0ec635da 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -158,6 +158,7 @@ int main(int argc, char **argv)
 
 #include "slirp/libslirp.h"
 
+#include "trace.h"
 #include "qemu-queue.h"
 #include "cpus.h"
 #include "arch_init.h"
@@ -1074,6 +1075,8 @@ void vm_state_notify(int running, int reason)
 {
     VMChangeStateEntry *e;
 
+    trace_vm_state_notify(running, reason);
+
     for (e = vm_change_state_head.lh_first; e; e = e->entries.le_next) {
         e->cb(e->opaque, running, reason);
     }
@@ -2977,6 +2980,7 @@ int main(int argc, char **argv, char **envp)
         exit(1);
     }
 
+    qemu_register_reset((void *)qbus_reset_all, sysbus_get_default());
     qemu_system_reset();
     if (loadvm) {
         if (load_vmstate(loadvm) < 0) {
This page took 0.022881 seconds and 4 git commands to generate.