target-i386: Add API to get note's size
commit0038ffb09692955b8f8f363958cbf58c205ae772
authorWen Congyang <wency@cn.fujitsu.com>
Mon, 7 May 2012 04:09:36 +0000 (7 12:09 +0800)
committerLuiz Capitulino <lcapitulino@redhat.com>
Mon, 4 Jun 2012 16:49:34 +0000 (4 13:49 -0300)
tree785b00b3acc3a7c566994a151ab5f6545a00f259
parent25ae9c1d8bbfeb6c00eccb4297a5937d8375a44a
target-i386: Add API to get note's size

We should know where the note and memory is stored before writing
them to vmcore. If we know this, we can avoid using lseek() when
creating vmcore.

Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
cpu-all.h
target-i386/arch_dump.c