From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCuKz-0004iy-Is for qemu-devel@nongnu.org; Tue, 05 Mar 2013 11:03:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCuKu-0002s5-VO for qemu-devel@nongnu.org; Tue, 05 Mar 2013 11:03:33 -0500 Received: from mail-wg0-f49.google.com ([74.125.82.49]:56376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCuKu-0002rr-QF for qemu-devel@nongnu.org; Tue, 05 Mar 2013 11:03:28 -0500 Received: by mail-wg0-f49.google.com with SMTP id 15so6135568wgd.16 for ; Tue, 05 Mar 2013 08:03:28 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 5 Mar 2013 17:03:23 +0100 Message-Id: <1362499403-16514-1-git-send-email-pbonzini@redhat.com> In-Reply-To: <1362495898-15352-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 4/3] wakeup: only reset the CPU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: lersek@redhat.com, aliguori@us.ibm.com, dwmw2@infradead.org Resuming from suspend-to-RAM should not reset all devices. Only the CPU should get a reset signal. Signed-off-by: Paolo Bonzini --- vl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vl.c b/vl.c index c03edf1..2c93478 100644 --- a/vl.c +++ b/vl.c @@ -1973,8 +1973,8 @@ static bool main_loop_should_exit(void) } if (qemu_wakeup_requested()) { pause_all_vcpus(); + cpu_soft_reset(); cpu_synchronize_all_states(); - qemu_system_reset(VMRESET_SILENT); resume_all_vcpus(); monitor_protocol_event(QEVENT_WAKEUP, NULL); } -- 1.8.1.4