[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/3] runstate: introduce suspended state
From: |
Luiz Capitulino |
Subject: |
Re: [Qemu-devel] [PATCH 2/3] runstate: introduce suspended state |
Date: |
Thu, 3 May 2012 17:30:53 -0300 |
On Thu, 03 May 2012 09:56:52 +0200
Gerd Hoffmann <address@hidden> 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?