From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFXWW-0003S7-39 for qemu-devel@nongnu.org; Mon, 17 Feb 2014 18:22:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFXWU-0007vP-RG for qemu-devel@nongnu.org; Mon, 17 Feb 2014 18:22:52 -0500 Received: from mx1.redhat.com ([209.132.183.28]:5807) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFXWU-0007vB-I7 for qemu-devel@nongnu.org; Mon, 17 Feb 2014 18:22:50 -0500 Date: Mon, 17 Feb 2014 12:51:26 -0500 From: Luiz Capitulino Message-ID: <20140217125126.50346e20@redhat.com> In-Reply-To: <20140211120056.0c51826e@redhat.com> References: <1390890126-17377-1-git-send-email-qiaonuohan@cn.fujitsu.com> <20140211120056.0c51826e@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v8 00/13] Make 'dump-guest-memory' dump in kdump-compressed format List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: stefanha@gmail.com, qemu-devel@nongnu.org, qiaonuohan , kumagai-atsushi@mxc.nes.nec.co.jp, pbonzini@redhat.com, anderson@redhat.com, lersek@redhat.com, afaerber@suse.de On Tue, 11 Feb 2014 12:00:56 -0500 Luiz Capitulino wrote: > On Tue, 28 Jan 2014 14:21:53 +0800 > qiaonuohan wrote: >=20 > > Hi, all > >=20 > > The last version is here: > > http://lists.nongnu.org/archive/html/qemu-devel/2014-01/msg00209.html > >=20 > > Command 'dump-guest-memory' was introduced to dump guest's memory. But = the > > vmcore's format is only elf32 or elf64. The message is here: > > http://lists.gnu.org/archive/html/qemu-devel/2012-04/msg03379.html > >=20 > > Compared with migration, the missing of compression feature means regre= ssion > > to 'dump-guest-memory'. So we post these patches to make 'dump-guest-me= mory' be > > able to dump guest's in kdump-compressed format. Then vmcore can be much > > smaller, and easily to be delivered. > >=20 > > The kdump-compressed format is *linux specific* *linux standard* crash = dump > > format used in kdump framework. The kdump-compressed format is readable= only > > with the crash utility, and it can be smaller than the ELF format becau= se of > > the compression support. To get more detailed information about > > kdump-compressed format, please refer to the following URL: > > http://sourceforge.net/projects/makedumpfile/ >=20 > I did what was requested by Paolo. I applied patches 1 to 12 and will wait > for the rework on patch 13. Unfortunately this series doesn't build on 32-bit hosts, so I had to drop it from my queue (see error below). Can you please do the following: 1. Fix the build 2. Add new patch 13/13 to the series 3. Add Ekaterina's patch to your series Thanks. Here's the error message: ar: creating libfdt/libfdt.a /root/qmp-unstable/dump.c: In function =E2=80=98write_dump_pages=E2=80=99: /root/qmp-unstable/dump.c:1356:21: error: passing argument 2 of =E2=80=98co= mpress2=E2=80=99 from incompatible pointer type [-Werror] Z_BEST_SPEED) =3D=3D Z_OK) && (size_out < s->page_size= )) { ^ In file included from /root/qmp-unstable/dump.c:28:0: /usr/include/zlib.h:1174:21: note: expected =E2=80=98uLongf *=E2=80=99 but = argument is of type =E2=80=98size_t *=E2=80=99 ZEXTERN int ZEXPORT compress2 OF((Bytef *dest, uLongf *destLen, ^ cc1: all warnings being treated as errors make[1]: *** [dump.o] Error 1 make: *** [subdir-aarch64-softmmu] Error 2 make: *** Waiting for unfinished jobs.... /root/qmp-unstable/dump.c: In function =E2=80=98write_dump_pages=E2=80=99: /root/qmp-unstable/dump.c:1356:21: error: passing argument 2 of =E2=80=98co= mpress2=E2=80=99 from incompatible pointer type [-Werror] Z_BEST_SPEED) =3D=3D Z_OK) && (size_out < s->page_size= )) { ^ In file included from /root/qmp-unstable/dump.c:28:0: /usr/include/zlib.h:1174:21: note: expected =E2=80=98uLongf *=E2=80=99 but = argument is of type =E2=80=98size_t *=E2=80=99 ZEXTERN int ZEXPORT compress2 OF((Bytef *dest, uLongf *destLen, ^ cc1: all warnings being treated as errors make[1]: *** [dump.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [subdir-alpha-softmmu] Error 2