From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmprU-0006JC-2G for qemu-devel@nongnu.org; Tue, 20 May 2014 15:38:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WmprO-0000OC-MH for qemu-devel@nongnu.org; Tue, 20 May 2014 15:38:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:64146) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmprO-0000Ny-FZ for qemu-devel@nongnu.org; Tue, 20 May 2014 15:38:02 -0400 Message-ID: <537BAF18.2030502@redhat.com> Date: Tue, 20 May 2014 13:38:00 -0600 From: Eric Blake MIME-Version: 1.0 References: <1400608075-19917-1-git-send-email-sanidhya.iiith@gmail.com> <1400608075-19917-7-git-send-email-sanidhya.iiith@gmail.com> In-Reply-To: <1400608075-19917-7-git-send-email-sanidhya.iiith@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Cxdckowlct8jE6iOGLDfwjbFTHp52QI60" Subject: Re: [Qemu-devel] [PATCH 6/6] python script for extracting bitmap from a binary file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sanidhya Kashyap , qemu list Cc: Juan Quintela This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Cxdckowlct8jE6iOGLDfwjbFTHp52QI60 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 05/20/2014 11:47 AM, Sanidhya Kashyap wrote: > This script extracts the bitmap only from a binary file. It takes only > a single input as file. This will be useful to users for exploring the > writable working set for the VM. >=20 > Signed-off-by: Sanidhya Kashyap > --- > scripts/extract-bitmap.py | 68 +++++++++++++++++++++++++++++++++++++++= ++++++++ > 1 file changed, 68 insertions(+) > create mode 100755 scripts/extract-bitmap.py >=20 > diff --git a/scripts/extract-bitmap.py b/scripts/extract-bitmap.py > new file mode 100755 > index 0000000..64ce136 > --- /dev/null > +++ b/scripts/extract-bitmap.py > @@ -0,0 +1,68 @@ > +#!/usr/bin/python > +# This python script helps in extracting the dirty bitmap present > +# in the file after executing the log-dirty-bitmap command either > +# from the qmp or hmp interface. This file only processes binary > +# file obtained via command. > +# > +# Copyright (C) Sanidhya Kashyap Worth listing 2014? > +# > +# Authors: > +# Sanidhya Kashyap > +# > +# This program is distributed in the hope that it will be useful, > +# but WITHOUT ANY WARRANTY; without even the implied warranty of > +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > +# GNU General Public License for more details. > +# > +# You should have received a copy of the GNU General Public License al= ong > +# with this program; if not, see . You refer to the GPL, but didn't explicitly state what license this file is under. Did you mean for it to be GPLv2+? --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --Cxdckowlct8jE6iOGLDfwjbFTHp52QI60 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/ iQEcBAEBCAAGBQJTe68YAAoJEKeha0olJ0NqKR0H/j9eyWSjqmz2PVBN0hdOxzPn Ob5QJqlS2np2FQc4llLc+HWqGl/x+NHRiBSjBhyGKE2y3XGgBn7Xf57/5Rd/7sOr BMviKNd6TOfvfYKi7ESfJNoxh639r01lNUXCcrzCcZb9jWumfrtWyXCujG0lxahF InJZwHB87LajD2V2XoQnFGJ/lVKsFeUWt4mUTEysNa5HPlFx6uHBkylHyx2bq1RV IV7Eb14upJp2A0vA5jhW7sILX22xf6yWpuAlmY4Ckt8n4KrZ/6P/yoUOWpVe7rXx 7kQSirRdlEuUtvOJFUs7FVLu0donwyQipCUnA2cIjlJDxvlTV8uqpo5Uj7bvDAs= =r8YE -----END PGP SIGNATURE----- --Cxdckowlct8jE6iOGLDfwjbFTHp52QI60--