dump: add API to write dump pages
authorqiaonuohan <qiaonuohan@cn.fujitsu.com>
Tue, 18 Feb 2014 06:11:35 +0000 (14:11 +0800)
committerLuiz Capitulino <lcapitulino@redhat.com>
Fri, 28 Feb 2014 16:52:03 +0000 (11:52 -0500)
commitd12f57ec6640d36e380367a0ab6ab9f3f29b6d51
tree89f1dc00d47d0402e36dd2e301dac8d644e41f18
parent64cfba6a47411092c941c8d17256fb5673cc8cbf
dump: add API to write dump pages

functions are used to write page to vmcore. vmcore is written page by page.
page desc is used to store the information of a page, including a page's size,
offset, compression format, etc.

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