qemu-arm
[Top][All Lists]
Advanced

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

[Qemu-arm] [PATCH v3 20/33] hw/hyperv/hyperv.c: remove device_legacy_res


From: Damien Hedde
Subject: [Qemu-arm] [PATCH v3 20/33] hw/hyperv/hyperv.c: remove device_legacy_reset call
Date: Mon, 29 Jul 2019 16:56:41 +0200

Replace legacy's reset call by device_reset_warm in
*hyperv_synic_reset*.

The new function propagates also the reset to the sub-buses tree but this has
no impact since SynICState has no child bus.

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

diff --git a/hw/hyperv/hyperv.c b/hw/hyperv/hyperv.c
index cd9db3cb5c..ae377934ee 100644
--- a/hw/hyperv/hyperv.c
+++ b/hw/hyperv/hyperv.c
@@ -140,7 +140,7 @@ void hyperv_synic_reset(CPUState *cs)
     SynICState *synic = get_synic(cs);
 
     if (synic) {
-        device_legacy_reset(DEVICE(synic));
+        device_reset_warm(DEVICE(synic));
     }
 }
 
-- 
2.22.0




reply via email to

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