summary refs log tree commit diff stats
path: root/scripts/qapi-types.py
diff options
context:
space:
mode:
authorqiaonuohan <qiaonuohan@cn.fujitsu.com>2014-02-18 14:11:28 +0800
committerLuiz Capitulino <lcapitulino@redhat.com>2014-02-28 11:49:02 -0500
commit5d31babe5c7d854d6b8470bc9fa67a698926e65d (patch)
tree7bf04967d5decf1a624956f0a714740211d5fe8e /scripts/qapi-types.py
parentfda053875e69120b2fde5fb34975ef5a49290f12 (diff)
downloadfocaccia-qemu-5d31babe5c7d854d6b8470bc9fa67a698926e65d.tar.gz
focaccia-qemu-5d31babe5c7d854d6b8470bc9fa67a698926e65d.zip
dump: add API to write vmcore
Function is used to write vmcore in flatten format. In flatten format, data is
written block by block, and in front of each block, a struct
MakedumpfileDataHeader is stored there to indicate the offset and size of the
data block.

struct MakedumpfileDataHeader {
    int64_t offset;
    int64_t buf_size;
};

Signed-off-by: Qiao Nuohan <qiaonuohan@cn.fujitsu.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'scripts/qapi-types.py')
0 files changed, 0 insertions, 0 deletions