kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Philipp Hahn <hahn@univention.de>
To: Doug Goldstein <cardoe@gentoo.org>
Cc: KVM mailing list <kvm@vger.kernel.org>
Subject: Re: 1.1.1 -> 1.1.2 migrate /managedsave issue
Date: Mon, 22 Oct 2012 09:04:26 +0200	[thread overview]
Message-ID: <201210220904.31653.hahn@univention.de> (raw)
In-Reply-To: <CAFWqQMRAOuw3sDWDC1cGofuvWNiAffiL5MpRqFnuihQizr9+vg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1306 bytes --]

Hello Doug,

On Saturday 20 October 2012 00:46:43 Doug Goldstein wrote:
> I'm using libvirt 0.10.2 and I had qemu-kvm 1.1.1 running all my VMs.
...
> I had upgraded to qemu-kvm 1.1.2
... 
> qemu: warning: error while loading state for instance 0x0 of device 'ram'
> load of migration failed

That error can be from many things. For me it was that the PXE-ROM images for 
the network cards were updated as well. Their size changed over the next 
power-of-two size, so kvm needed to allocate less/more memory and changed 
some PCI configuration registers, where the size of the ROM region is stored.
On loading the saved state those sizes were compared and failed to validate. 
KVM then aborts loading the saved state with that little helpful message.

So you might want to check, if your case is similar to mine.

I diagnosed that using gdb to single step kvm until I found 
hw/pci.c#get_pci_config_device() returning -EINVAL.

Hope that helps.

Sincerely
Philipp
-- 
Philipp Hahn           Open Source Software Engineer      hahn@univention.de
Univention GmbH        be open.                       fon: +49 421 22 232- 0
Mary-Somerville-Str.1  D-28359 Bremen                 fax: +49 421 22 232-99
                                                   http://www.univention.de/

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2012-10-22  7:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-19 22:46 1.1.1 -> 1.1.2 migrate /managedsave issue Doug Goldstein
2012-10-22  7:04 ` Philipp Hahn [this message]
2012-10-22 11:23   ` Avi Kivity
2012-10-23 20:38     ` Doug Goldstein
2012-10-24  6:59       ` Philipp Hahn
2012-10-29  6:22     ` Doug Goldstein
2012-11-04 21:51     ` Anthony Liguori
2012-11-05  5:41       ` Doug Goldstein
2012-11-06 15:05         ` Juan Quintela

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=201210220904.31653.hahn@univention.de \
    --to=hahn@univention.de \
    --cc=cardoe@gentoo.org \
    --cc=kvm@vger.kernel.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).