x86/HVM: also dump stacks from show_execution_state()
authorJan Beulich <jbeulich@suse.com>
Fri, 3 Dec 2021 10:15:57 +0000 (11:15 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 3 Dec 2021 10:15:57 +0000 (11:15 +0100)
commitadb715db698bc8ec3b88c24eb88b21e9da5b6c07
treeb294d16d16d07cf69a2969e8216aada981ddce83
parentc037dfb909406de6febaaa2c2e05743186e1e07e
x86/HVM: also dump stacks from show_execution_state()

Wire up show_hvm_stack() also on this path. Move the show_guest_stack()
invocation out of show_stack(), rendering dead the is-HVM check there.

While separating guest and host paths, also move the show_code()
invocation - the function bails immediately when guest_mode() returns
"true".

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/traps.c
xen/include/asm-x86/processor.h