From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tokarev Subject: Re: guest suspend/resume & virtio: vring errors Date: Sat, 09 Jul 2011 13:47:25 +0400 Message-ID: <4E1823AD.2090207@msgid.tls.msk.ru> References: <4E17545E.7010400@msgid.tls.msk.ru> <20110709091720.GG10249@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: KVM list To: Gleb Natapov Return-path: Received: from isrv.corpit.ru ([86.62.121.231]:33109 "EHLO isrv.corpit.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752628Ab1GIJr1 (ORCPT ); Sat, 9 Jul 2011 05:47:27 -0400 In-Reply-To: <20110709091720.GG10249@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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. >> 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). What's wrong/broken in linux? Can it be fixed? Thanks, /mjt