dump: add kernel_gs_base to QEMU CPU state
commit46fac17dca19e52506e05530ad3bd01f6d5722e3
authorViktor Prutyanov <viktor.prutyanov@virtuozzo.com>
Sat, 14 Jul 2018 12:30:00 +0000 (14 15:30 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Jul 2018 14:13:34 +0000 (16 16:13 +0200)
treed45820f850b9355bc6009751711b594afcc6adb0
parent9277d81f5c2c6f4d0b5e47c8476eb7ee7e5c0beb
dump: add kernel_gs_base to QEMU CPU state

This patch adds field with content of KERNEL_GS_BASE MSR to QEMU note in
ELF dump.

On Windows, if all vCPUs are running usermode tasks at the time the dump is
created, this can be helpful in the discovery of guest system structures
during conversion ELF dump to MEMORY.DMP dump.

Signed-off-by: Viktor Prutyanov <viktor.prutyanov@virtuozzo.com>
Message-Id: <20180714123000.11326-1-viktor.prutyanov@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/arch_dump.c