From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: 1.1.1 -> 1.1.2 migrate /managedsave issue Date: Mon, 22 Oct 2012 13:23:59 +0200 Message-ID: <50852CCF.3070000@redhat.com> References: <201210220904.31653.hahn@univention.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Doug Goldstein , KVM mailing list , Juan Quintela , qemu-devel To: Philipp Hahn Return-path: Received: from mx1.redhat.com ([209.132.183.28]:56670 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751091Ab2JVLYK (ORCPT ); Mon, 22 Oct 2012 07:24:10 -0400 In-Reply-To: <201210220904.31653.hahn@univention.de> Sender: kvm-owner@vger.kernel.org List-ID: On 10/22/2012 09:04 AM, Philipp Hahn wrote: > 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. > Seems reasonable. Doug, please verify to see if it's the same issue or another one. Juan, how can we fix this? It's clear that the option ROM size has to be fixed and not change whenever the blob is updated. This will fix it for future releases. But what to do about the ones in the field? -- error compiling committee.c: too many arguments to function