From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9ZNn-00076m-20 for qemu-devel@nongnu.org; Tue, 22 Jul 2014 08:41:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9ZNf-0004bh-AB for qemu-devel@nongnu.org; Tue, 22 Jul 2014 08:41:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56362) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9ZNf-0004bO-0g for qemu-devel@nongnu.org; Tue, 22 Jul 2014 08:41:19 -0400 Date: Tue, 22 Jul 2014 18:10:27 +0530 From: Amit Shah Message-ID: <20140722124027.GA32103@grmbl.mre> References: <20140722071130.GF26186@grmbl.mre> <20140722095000.GB5922@grmbl.mre> <53CE3511.3000402@redhat.com> <20140722102258.GA18209@grmbl.mre> <24F102B2-44A4-4C71-80A7-A9BE9CADF3EE@alex.org.uk> <20140722105432.GB18209@grmbl.mre> <5AB9C3BF-1A4F-4942-A433-1724BBFC9D23@alex.org.uk> <20140722115407.GF18209@grmbl.mre> <53CE5510.1090603@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53CE5510.1090603@redhat.com> Subject: Re: [Qemu-devel] Live migrate, inconsistent machine types - new machine type to fix? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: "qemu-devel@nongnu.org" , Alex Bligh On (Tue) 22 Jul 2014 [14:12:00], Paolo Bonzini wrote: > Il 22/07/2014 13:54, Amit Shah ha scritto: > >> > a) because I'm using qemu-kvm-1.0, not qemu-1.0. You looked at qemu-1.0 > >> > in the previous message; that's not directly relevant for what I'm > >> > looking at as my source is qemu-kvm-1.0 (qemu vs qemu-kvm). > > Sigh; please read both my replies. > > > > The only difference between qemu-kvm-1.0 and qemu-1.0 is the presence > > of the pci-assign section in qemu-kvm-1.0. All other output from > > qemu-1.0 -> qemu-2.1 is equally applicable to qemu-kvm-1.0 -> > > qemu-2.1. > > Not really true. Here's the complete output: Section "xio3130-downstream" Description "xio3130-express-downstream-port": version error: 2 > 0 Section "usb-host" Section "usb-host" Description "usb-host": minimum version error: 0 < 1 Section "ich9-usb-ehci1" Section "ich9-usb-ehci1" Description "ehci": minimum version error: 0 < 1 Section "x3130-upstream" Description "xio3130-express-upstream-port": version error: 2 > 0 Section "usb-ehci" Section "usb-ehci" Description "ehci": minimum version error: 0 < 1 Section "ioh3420" Description "ioh-3240-express-root-port": version error: 2 > 0 Section "pci-assign" does not exist in dest Section "PIIX4_PM" Section "PIIX4_PM" Description "piix4_pm": minimum version error: 2 < 3 > qemu 1.0 didn't have neither channels[0].irq_disabled nor flags and is > version 2. > > qemu-2.1 has channels[0].irq_disabled and is version 3. > > qemu-kvm-1.0 had flags, which is now called channels[0].irq_disabled, > and is version 2. Right - 'flags' here is renamed, and doesn't appear in that output; but the src version was 0 according to the json output. > qemu-2.1 loads version 2 as something that doesn't have > channels[0].irq_disabled. So it breaks if you feed it with qemu-kvm-1.0 > data. OK - that's not something the static checker can flag, though.. > There's something similar going on with PIIX4_PM but I don't remember > the details. According to the output above, minimum version that qemu-2.1 accepts changed to 3, and qemu-kvm-1.0 sends version 2. Amit