From: Gleb Natapov <gleb@redhat.com>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: KVM list <kvm@vger.kernel.org>
Subject: Re: guest suspend/resume & virtio: vring errors
Date: Sat, 9 Jul 2011 12:55:07 +0300 [thread overview]
Message-ID: <20110709095507.GH10249@redhat.com> (raw)
In-Reply-To: <4E1823AD.2090207@msgid.tls.msk.ru>
On Sat, Jul 09, 2011 at 01:47:25PM +0400, Michael Tokarev wrote:
> 09.07.2011 13:17, Gleb Natapov wrote:
> > On Fri, Jul 08, 2011 at 11:02:54PM +0400, Michael Tokarev wrote:
> >> I tried suspend/resume cycle for a linux guest
> >> today, with 100% failure result. There are 2
> > Good. It works as expect :) Linux virtio drivers do not support PM.
>
> This means that neither in-guest suspend/resume nor
> qemu-kvm migrate-to-file (which fails for a different
> reason I'm trying to debug now) works. Which is very
> unfortunate.
>
Migration to file should work, or, at least, is a different problem.
It does not require guest cooperation.
> >> With e1000 instead of virtio-net-pci, the suspend
> >> does not complete - guest kernel freezes after the
> >> message "Suspending console(s)" and does not respond
> >> (but does not eat 100% CPU either) - the same as for
> >> older guest kernel.
> >>
> >> Has anyone succeeded suspend/resume cycle?
> >>
> > Yes, but Linux and suspend/resume are not best friends. Sometimes it
> > works by mistake, but next merged patch fixes it and suspend/resume
> > returns to its normal broken state.
>
> Lovelylovely.
>
> It does not work with any version of windows I tried, too
> (which is winXP, win7 32 and win7 64bits). Windows enters
> an endless loop with a black screen during suspend (eating
> 100% CPU time).
>
Heh. Is this S4 or S3 suspend resume? Looks like recent breakage.
The only knows problem to me is in win7/2008 S3 resume + net.
> What's wrong/broken in linux? Can it be fixed?
>
Complete lack of regression testing.
--
Gleb.
next prev parent reply other threads:[~2011-07-09 9:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-08 19:02 guest suspend/resume & virtio: vring errors Michael Tokarev
2011-07-09 9:17 ` Gleb Natapov
2011-07-09 9:47 ` Michael Tokarev
2011-07-09 9:55 ` Gleb Natapov [this message]
2011-07-09 10:09 ` Michael Tokarev
2011-07-09 10:36 ` Gleb Natapov
2011-07-09 11:54 ` Michael Tokarev
2011-07-09 12:07 ` 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=20110709095507.GH10249@redhat.com \
--to=gleb@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mjt@tls.msk.ru \
/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