]> git.proxmox.com Git - qemu.git/commit
x86: Optionally dump code bytes on cpu_dump_state
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 21 Jan 2011 20:48:08 +0000 (21:48 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Sun, 23 Jan 2011 04:27:20 +0000 (02:27 -0200)
commitf5c848eed769b795ac9c06bfb315e4aa9116337c
treecfa3bd1355e47295874dc9d73fb3403ee18a6e58
parentbb44e0d12df70bd4a653341db4446daf6a9326be
x86: Optionally dump code bytes on cpu_dump_state

Introduce the cpu_dump_state flag CPU_DUMP_CODE and implement it for
x86. This writes out the code bytes around the current instruction
pointer. Make use of this feature in KVM to help debugging fatal vm
exits.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
cpu-all.h
kvm-all.c
target-i386/helper.c