aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-01-10 10:32:01 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2011-01-10 10:32:01 -0600
commita7bd621d7a270645fb98426c82a0b251fdbc6000 (patch)
treeea7baf4b742064e092985f5c15d6579fbc6db20f /vl.c
parent8aaf42ed0f203da63860b0a3ab3ff2bdfe9b4cb0 (diff)
parenta6a7005d14b3c32d4864a718fb1cb19c789f58a5 (diff)
Merge remote branch 'mst/for_anthony' into staging
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index 78fcef1fee..0292184273 100644
--- a/vl.c
+++ b/vl.c
@@ -3092,7 +3092,9 @@ int main(int argc, char **argv, char **envp)
exit(1);
}
- qemu_register_reset((void *)qbus_reset_all, sysbus_get_default());
+ /* TODO: once all bus devices are qdevified, this should be done
+ * when bus is created by qdev.c */
+ qemu_register_reset(qbus_reset_all_fn, sysbus_get_default());
qemu_run_machine_init_done_notifiers();
qemu_system_reset();