From: Gleb Natapov <gleb@redhat.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Handle suspend in qemu.
Date: Tue, 16 Dec 2008 08:50:47 +0200 [thread overview]
Message-ID: <20081216065047.GC13794@redhat.com> (raw)
In-Reply-To: <20081216054640.GA10634@morn.localdomain>
On Tue, Dec 16, 2008 at 12:46:41AM -0500, Kevin O'Connor wrote:
> On Thu, Dec 11, 2008 at 04:53:32PM +0200, Gleb Natapov wrote:
> > BIOS changes are already upstream.
> >
> > Reset a PC and tell BIOS that resume from ram is required on the next
> > boot.
>
> Hi Gleb,
>
> How can I test this?
>
> I grabbed the latest bochs from CVS and compiled the BIOS. I then
> tried it on qemu with Fedora8, Ubuntu-8.04, and winxp images - they
> all seem to say they can suspend, but none actually work when told to.
>
> The linux images both appear to support standby (cat /sys/power/state
> shows "mem"), but trying suspend (echo -n mem > /sys/power/state)
> returns "Resource temporarily unavailable" and a series of messages in
> /var/log/messages starting with: Freezing of tasks failed after 20.00
> second (1 tasks refusing to freeze)
>
Never saw that one. What is you qemu command line? Can you try latest
kernel. Searching internet for the "Freezing of tasks failed" suggest
that it may be a kernel bug.
> The winxp image shows "suspend" in the shutdown menu. However, when I
> click on it I get a dialog that says:
>
> The device driver for the "Default Monitor" device is preventing the
> machine from entering standby. Please close all applications and try
> again. If the problem persists, you may need to update this driver.
>
This one sound familiar. You need latest vgabios with DPMS support.
--
Gleb.
next prev parent reply other threads:[~2008-12-16 6:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-11 14:53 [Qemu-devel] [PATCH] Handle suspend in qemu Gleb Natapov
2008-12-16 5:46 ` Kevin O'Connor
2008-12-16 6:50 ` Gleb Natapov [this message]
2008-12-17 22:32 ` Anthony Liguori
-- strict thread matches above, loose matches on Subject: below --
2008-10-27 9:30 Gleb Natapov
2008-10-26 14:43 Gleb Natapov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081216065047.GC13794@redhat.com \
--to=gleb@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).