From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQ2g1-0007vt-Kb for qemu-devel@nongnu.org; Thu, 03 May 2012 16:31:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQ2fy-0003DB-Us for qemu-devel@nongnu.org; Thu, 03 May 2012 16:31:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQ2fy-0003CT-Lt for qemu-devel@nongnu.org; Thu, 03 May 2012 16:30:58 -0400 Date: Thu, 3 May 2012 17:30:53 -0300 From: Luiz Capitulino Message-ID: <20120503173053.4236de18@doriath.home> In-Reply-To: <4FA23A44.6040908@redhat.com> References: <1335559216-13849-1-git-send-email-lcapitulino@redhat.com> <1335559216-13849-3-git-send-email-lcapitulino@redhat.com> <4FA0DD87.6080302@redhat.com> <20120502153453.3ee5dc8e@doriath.home> <4FA23A44.6040908@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/3] runstate: introduce suspended state List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org, mdroth@linux.vnet.ibm.com On Thu, 03 May 2012 09:56:52 +0200 Gerd Hoffmann wrote: > Hi, > > > I think that the question we have to answer is: apart from the keyboard > > and mouse, is there any device that wants to run while qemu is suspended? > > pretty much anything which may wake up the guest. The nics for example > for wake-on-lan. I'm not sure whenever they care about the runstate at > all though. > > Mouse and keyboard ignore events when the guest is stopped so if you > type into a vnc client for a stopped guest the events wouldn't get > queued up and cause unwanted effects when unpausing the guest. When > suspended we want forward the events though so wakeup-by-keyboard works. > > Not sure whenever we have simliar logic elsewhere (like stop queuing > network packets when the guest doesn't run). I've quickly checked this and it seems we don't. However, I've ran into a different issue today: migrating while suspended doesn't work. The target VM seems to be locked into S3, it just doesn't resume. Haven't investigated yet, but this is expected to work, right?