Re: [Qemu-devel] [PATCH] ppc64: fix compressed dump with pseries kernel

2016-08-05 Thread Andrew Jones
On Fri, Aug 05, 2016 at 11:46:33AM +0200, Laurent Vivier wrote: > > > On 05/08/2016 11:26, Andrew Jones wrote: > > On Thu, Aug 04, 2016 at 10:41:16AM +0200, Laurent Vivier wrote: > >> > >> > >> On 04/08/2016 04:38, David Gibson wrote: > >>> On Wed, Aug 03, 2016 at 09:55:07PM +0200, Laurent Vivier

Re: [Qemu-devel] [PATCH] ppc64: fix compressed dump with pseries kernel

2016-08-05 Thread David Gibson
On Fri, Aug 05, 2016 at 11:26:47AM +0200, Andrew Jones wrote: > On Thu, Aug 04, 2016 at 10:41:16AM +0200, Laurent Vivier wrote: > > > > > > On 04/08/2016 04:38, David Gibson wrote: > > > On Wed, Aug 03, 2016 at 09:55:07PM +0200, Laurent Vivier wrote: > > >> If we don't provide the page size in ta

Re: [Qemu-devel] [PATCH] ppc64: fix compressed dump with pseries kernel

2016-08-05 Thread Laurent Vivier
On 05/08/2016 11:26, Andrew Jones wrote: > On Thu, Aug 04, 2016 at 10:41:16AM +0200, Laurent Vivier wrote: >> >> >> On 04/08/2016 04:38, David Gibson wrote: >>> On Wed, Aug 03, 2016 at 09:55:07PM +0200, Laurent Vivier wrote: If we don't provide the page size in target-ppc:cpu_get_dump_info()

Re: [Qemu-devel] [PATCH] ppc64: fix compressed dump with pseries kernel

2016-08-05 Thread Andrew Jones
On Wed, Aug 03, 2016 at 09:55:07PM +0200, Laurent Vivier wrote: > If we don't provide the page size in target-ppc:cpu_get_dump_info(), > the default one (TARGET_PAGE_SIZE, 4KB) is used to create > the compressed dump. It works fine with Macintosh, but not with > pseries as the kernel default page s

Re: [Qemu-devel] [PATCH] ppc64: fix compressed dump with pseries kernel

2016-08-05 Thread Andrew Jones
On Thu, Aug 04, 2016 at 10:41:16AM +0200, Laurent Vivier wrote: > > > On 04/08/2016 04:38, David Gibson wrote: > > On Wed, Aug 03, 2016 at 09:55:07PM +0200, Laurent Vivier wrote: > >> If we don't provide the page size in target-ppc:cpu_get_dump_info(), > >> the default one (TARGET_PAGE_SIZE, 4KB)

Re: [Qemu-devel] [PATCH] ppc64: fix compressed dump with pseries kernel

2016-08-05 Thread Thomas Huth
On 05.08.2016 09:49, David Gibson wrote: > On Thu, Aug 04, 2016 at 10:41:16AM +0200, Laurent Vivier wrote: > 1;4402;0c> >> >> On 04/08/2016 04:38, David Gibson wrote: >>> On Wed, Aug 03, 2016 at 09:55:07PM +0200, Laurent Vivier wrote: If we don't provide the page size in target-ppc:cpu_get_du

Re: [Qemu-devel] [PATCH] ppc64: fix compressed dump with pseries kernel

2016-08-05 Thread Laurent Vivier
On 05/08/2016 09:49, David Gibson wrote: > On Thu, Aug 04, 2016 at 10:41:16AM +0200, Laurent Vivier wrote: > 1;4402;0c> >> >> On 04/08/2016 04:38, David Gibson wrote: >>> On Wed, Aug 03, 2016 at 09:55:07PM +0200, Laurent Vivier wrote: If we don't provide the page size in target-ppc:cpu_get_

Re: [Qemu-devel] [PATCH] ppc64: fix compressed dump with pseries kernel

2016-08-05 Thread David Gibson
On Thu, Aug 04, 2016 at 10:41:16AM +0200, Laurent Vivier wrote: 1;4402;0c> > > On 04/08/2016 04:38, David Gibson wrote: > > On Wed, Aug 03, 2016 at 09:55:07PM +0200, Laurent Vivier wrote: > >> If we don't provide the page size in target-ppc:cpu_get_dump_info(), > >> the default one (TARGET_PAGE_S

Re: [Qemu-devel] [PATCH] ppc64: fix compressed dump with pseries kernel

2016-08-04 Thread Laurent Vivier
On 04/08/2016 04:38, David Gibson wrote: > On Wed, Aug 03, 2016 at 09:55:07PM +0200, Laurent Vivier wrote: >> If we don't provide the page size in target-ppc:cpu_get_dump_info(), >> the default one (TARGET_PAGE_SIZE, 4KB) is used to create >> the compressed dump. It works fine with Macintosh, but

Re: [Qemu-devel] [PATCH] ppc64: fix compressed dump with pseries kernel

2016-08-03 Thread David Gibson
On Wed, Aug 03, 2016 at 09:55:07PM +0200, Laurent Vivier wrote: > If we don't provide the page size in target-ppc:cpu_get_dump_info(), > the default one (TARGET_PAGE_SIZE, 4KB) is used to create > the compressed dump. It works fine with Macintosh, but not with > pseries as the kernel default page s

[Qemu-devel] [PATCH] ppc64: fix compressed dump with pseries kernel

2016-08-03 Thread Laurent Vivier
If we don't provide the page size in target-ppc:cpu_get_dump_info(), the default one (TARGET_PAGE_SIZE, 4KB) is used to create the compressed dump. It works fine with Macintosh, but not with pseries as the kernel default page size is 64KB. Without this patch, if we generate a compressed dump in th