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 =
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;
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
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 ++