OSDN Git Service

dump: add API to write dump_bitmap
authorqiaonuohan <qiaonuohan@cn.fujitsu.com>
Tue, 18 Feb 2014 06:11:33 +0000 (14:11 +0800)
committerLuiz Capitulino <lcapitulino@redhat.com>
Fri, 28 Feb 2014 16:52:03 +0000 (11:52 -0500)
commitd0686c7291fe8f0210e7a666f80892fa71395510
tree221b078f6078a989cb0864f356b143d3cb1ceace
parent298f116827405f37dde10a2a6cbc75d20f9ba99c
dump: add API to write dump_bitmap

functions are used to write 1st and 2nd dump_bitmap of kdump-compressed format,
which is used to indicate whether the corresponded page is existed in vmcore.
1st and 2nd dump_bitmap are same, because dump level is specified to 1 here.

Signed-off-by: Qiao Nuohan <qiaonuohan@cn.fujitsu.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
dump.c
include/sysemu/dump.h