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); >>> >} >>> > >

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_P

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 > --- > dump.c| 30 +++

[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 --- dump.c| 30 ++ include/sysemu/dump.h |7 +++ 2 files