Received: from eggs.gnu.org ([2001:4830:134:3::10]:56664) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS7tD-0002wH-50 for qemu-devel@nongnu.org; Tue, 26 Jul 2016 15:19:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bS7t8-0000mQ-Od for qemu-devel@nongnu.org; Tue, 26 Jul 2016 15:19:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS7t8-0000lt-JA for qemu-devel@nongnu.org; Tue, 26 Jul 2016 15:19:34 -0400 Date: Tue, 26 Jul 2016 16:19:28 -0300 From: Eduardo Habkost Message-ID: <20160726191928.GD3337@thinpad.lan.raisama.net> References: <1469027314-31655-1-git-send-email-ehabkost@redhat.com> <1469027314-31655-27-git-send-email-ehabkost@redhat.com> <20160726051138.GB27202@grmbl.mre> <20160726100049.7f003705@nial.brq.redhat.com> <20160726114655.GB26166@grmbl.mre> <20160726145839.3cdd8213@nial.brq.redhat.com> <20160726130906.GA24341@grmbl.mre> <20160726161604.371397e2@nial.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160726161604.371397e2@nial.brq.redhat.com> Subject: Re: [Qemu-devel] [PULL 26/28] apic: Use apic_id as apic's migration instance_id List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov Cc: Amit Shah , qemu-devel@nongnu.org, Peter Maydell , Richard Henderson , Paolo Bonzini On Tue, Jul 26, 2016 at 04:16:04PM +0200, Igor Mammedov wrote: > On Tue, 26 Jul 2016 18:41:22 +0530 > Amit Shah wrote: > > > On (Tue) 26 Jul 2016 [14:58:39], Igor Mammedov wrote: > > > > This was flagged by a nightly run of the static checker when this > > > > series was pulled. On a 'before' tree, ie one w/o the patches, do > > > > this: > > > > > > > > qemu -dump-vmstate before.json > > > > > > > > and for after: > > > > > > > > qemu -dump-vmstate after.json > > > > > > > > then, > > > > > > > > python ./scripts/vmstate-static-checker.py -s before.json -d after.json > > > I don't think it is valid comparison though, as it compares default PC machines. > > > In this case it's pc-i440fx-2.6 and pc-i440fx-2.7, you see the difference > > > which is expected due to instance_id change. > > > > > > You shouldn't see it when comparing same machine types. > > > > No, this is comparing the git tree just before and after the series is > > applied. > I've checked dump_vmstate_json_to_file() implementation and it looks like > it dumps only dc->vmsd enabled devices. > > In this patch vmstate registration has been moved to to apic_comon_realize() > that's why dump_vmstate_json_to_file() doesn't dump apics anymore and you see the change So, can anything break because of this difference, or is this just a limitation of -dump-vmstate? -- Eduardo