qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC PATCH 12/17] Put default sysbus in system reset domain


From: Damien Hedde
Subject: [Qemu-devel] [RFC PATCH 12/17] Put default sysbus in system reset domain
Date: Mon, 25 Mar 2019 12:01:55 +0100

Switch from reset handler to Resettable interface.

Signed-off-by: Damien Hedde <address@hidden>
---
 vl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vl.c b/vl.c
index cf081d5264..e67f6e6c50 100644
--- a/vl.c
+++ b/vl.c
@@ -4537,7 +4537,7 @@ int main(int argc, char **argv, char **envp)
 
     /* 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_register_system_reset_domain_object(OBJECT(sysbus_get_default()));
     qemu_run_machine_init_done_notifiers();
 
     if (rom_check_and_register_reset() != 0) {
-- 
2.21.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]