qemu-discuss
[Top][All Lists]
Advanced

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

[Qemu-discuss] QEMU needs the reset when waking up from sleep.


From: 추헌광
Subject: [Qemu-discuss] QEMU needs the reset when waking up from sleep.
Date: Mon, 16 Feb 2015 23:24:25 +0900 (KST)

Hi all, 

 

From below git.qemu.org website, I saw that QEMU is basically using reset logic when waking up from S3.

 

http://git.qemu.org/?p=qemu.git;a=commitdiff;h=1405819637f53ed8021067eb3ea52e32bef2870b 

 

 

Could you explain why the reset is needed when QEMU wakeup from sleep ?

Is it just some concept like promise for QEMU?

 

+    if (qemu_wakeup_requested()) {
+        pause_all_vcpus();
+        cpu_synchronize_all_states();
+        qemu_system_reset(VMRESET_SILENT);
+        resume_all_vcpus();
+    }

I appreciate it very much!

Heon Gwang

reply via email to

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