public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* guest suspend/resume & virtio: vring errors
@ 2011-07-08 19:02 Michael Tokarev
  2011-07-09  9:17 ` Gleb Natapov
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Tokarev @ 2011-07-08 19:02 UTC (permalink / raw)
  To: KVM list

I tried suspend/resume cycle for a linux guest
today, with 100% failure result.  There are 2
possible scenarious after resume (you need
pretty recent guest kernel for it to work at
all, earlier kernels, incl. early 2.6.32, just
stops somewhere at the start of suspend cycle,
but 2.6.32.42 and 3.0-rc6 "works"), both are
in the same place but different viewpoint.

It is either guest complains

 virtio_net virtio0: input:id 2 is not a head!

and enters an endless loop eating 100% CPU, or
qemu-kvm exits (aborts) with the message:

 kvm: Guest moved used index from 1 to 0

this is when trying to use virtio-net.

The same happens when disabling network entirely:
it complains about virtio-blk in the same way,
for example

 kvm: Guest moved used index from 1 to 49285

qemu-kvm is of version 0.14.1 so far, I'll try
a git version later.

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?

Thanks!

/mjt

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-07-09 12:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox