]> xenbits.xensource.com Git - xen.git/commit
xen/arm: dump guest stack even if not the current VCPU
authorFrediano Ziglio <frediano.ziglio@huawei.com>
Thu, 23 Oct 2014 16:18:52 +0000 (17:18 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 27 Oct 2014 10:25:00 +0000 (10:25 +0000)
commit281c892e3bdb0a56cfd8ab6516cd1a33c095c857
treeb2a71833c18ac0ea79f3e6ad5fa0fda4a69632f0
parent3f519acfb45d2a8a836d566400895534d067a803
xen/arm: dump guest stack even if not the current VCPU

If show_guest_stack was called from Xen context (for instance hitting
'0' key on Xen console) get_page_from_gva was not able to get the
page returning NULL.
Detecting different domain and changing VTTBR register make
get_page_from_gva works for different domains.

Signed-off-by: Frediano Ziglio <frediano.ziglio@huawei.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/p2m.c
xen/arch/arm/traps.c