Re: [Qemu-devel] [PATCH 07/13 v7] dump: add members to DumpState and init some of them

2014-01-24 Thread Laszlo Ersek
On 01/24/14 02:52, Qiao Nuohan wrote: On 01/23/2014 01:04 AM, Laszlo Ersek wrote: @@ -864,6 +884,16 @@ static int dump_init(DumpState *s, int fd, bool paging, bool has_filter, qemu_get_guest_simple_memory_mapping(s-list,s-guest_phys_blocks); } +s-nr_cpus =

Re: [Qemu-devel] [PATCH 07/13 v7] dump: add members to DumpState and init some of them

2014-01-23 Thread Qiao Nuohan
On 01/23/2014 01:04 AM, Laszlo Ersek wrote: @@ -864,6 +884,16 @@ static int dump_init(DumpState *s, int fd, bool paging, bool has_filter, qemu_get_guest_simple_memory_mapping(s-list,s-guest_phys_blocks); } +s-nr_cpus = nr_cpus; +s-page_size = TARGET_PAGE_SIZE;

Re: [Qemu-devel] [PATCH 07/13 v7] dump: add members to DumpState and init some of them

2014-01-22 Thread Laszlo Ersek
comments below On 01/17/14 08:46, qiaonuohan wrote: add some members to DumpState that will be used in writing vmcore in kdump-compressed format. some of them, like page_size, will be initialized in the patch. Signed-off-by: Qiao Nuohan qiaonuo...@cn.fujitsu.com --- dump.c

[Qemu-devel] [PATCH 07/13 v7] dump: add members to DumpState and init some of them

2014-01-16 Thread qiaonuohan
add some members to DumpState that will be used in writing vmcore in kdump-compressed format. some of them, like page_size, will be initialized in the patch. Signed-off-by: Qiao Nuohan qiaonuo...@cn.fujitsu.com --- dump.c| 30 ++