History | View | Annotate | Download (12 kB)
Fix some more license versions (GPL2+ instead of GPL2)
Signed-off-by: Stefan Weil <sw@weilnetz.de>Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
dump: change cpu_get_note_size to return ssize_t
So that it can use the same prototype in both cases.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target-i386: Add API to write elf notes to core file
The core file contains register's value. These APIs write registers tocore file, and them will be called in the following patch.
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
target-i386: Add API to write cpu status to core file
The core file has register's value. But it does not include all registers value.Store the cpu status into QEMU note, and the user can get more informationfrom vmcore. If you change QEMUCPUState, please count up QEMUCPUSTATE_VERSION....
target-i386: add API to get dump info
Dump info contains: endian, class and architecture. The nextpatch will use these information to create vmcore. Note: onx86 box, the class is ELFCLASS64 if the memory is larger than 4G.
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>...
target-i386: Add API to get note's size
We should know where the note and memory is stored before writingthem to vmcore. If we know this, we can avoid using lseek() whencreating vmcore.