From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wjpi5-00051D-R5 for qemu-devel@nongnu.org; Mon, 12 May 2014 08:52:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wjpi0-0006yV-Ta for qemu-devel@nongnu.org; Mon, 12 May 2014 08:52:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:24716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wjpi0-0006x5-Ki for qemu-devel@nongnu.org; Mon, 12 May 2014 08:51:56 -0400 Message-ID: <5370C3EA.5070506@redhat.com> Date: Mon, 12 May 2014 06:51:54 -0600 From: Eric Blake MIME-Version: 1.0 References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="k4kNNiSXoV2s0D2P9Eflot8GpnMvUmI9n" Subject: Re: [Qemu-devel] [PATCH 01/18] migration: dump vmstate info as a json file for static analysis List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amit Shah , qemu list Cc: Juan Quintela , Alexander Graf , Markus Armbruster , Paolo Bonzini , =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= , "\"Dr. David Alan Gilbert\"" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --k4kNNiSXoV2s0D2P9Eflot8GpnMvUmI9n Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 05/12/2014 05:16 AM, Amit Shah wrote: > This commit adds a new command, '-dump-vmstate', that takes a filename > as a parameter. When executed, QEMU will dump the vmstate information > for the machine type it's invoked with to the file, and quit. >=20 > The JSON-format output can then be used to compare the vmstate info for= > different QEMU versions, specifically to test whether live migration > would break due to changes in the vmstate data. Are we going to document that JSON format anywhere? Is it worth making it part of qapi-schema.json, whether to also expose the dump via a QMP command, or at a bare minimum to take advantage of some code generation from the qapi engine rather than doing it all by hand? --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --k4kNNiSXoV2s0D2P9Eflot8GpnMvUmI9n Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJTcMPqAAoJEKeha0olJ0NqIEsH/2AE/I4mWulJXYpkw4rJ8h/b iKbhn93VphgSVo14JQ5KUzZhjajXqIMSHor6Nqq0wDpqLwR+MK3rcal0fDFhD7Am 1rK4A/q+EkJzFqqTCxsugvrcXDXElE5ph/OIxnYnTOtX5/7ZKC7gE5r4r+3byDNX wLI9gLDyauy5SoGa2xWZmk6+RX7SJD3Ktfp1+m9oCb7F76cv6VPkRE1mAkex6ivh PtFl/S7sluO0hMCd4NIvSDbu7dkr/ct4RNhTjZ6uiJWVa2+1joPY+kJqJ/3AJ8CL CU/7AVKgeIp2Fj2Erls/10MXjz5YqxadAgkL5sxx6hjZn1S+UII98Q+lGSO8Sz4= =hlCj -----END PGP SIGNATURE----- --k4kNNiSXoV2s0D2P9Eflot8GpnMvUmI9n--