]> xenbits.xensource.com Git - xen.git/commit
x86/PV: make '0' debug key dump Dom0's stacks again
authorJan Beulich <jbeulich@suse.com>
Tue, 19 Oct 2021 08:07:00 +0000 (10:07 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 19 Oct 2021 08:07:00 +0000 (10:07 +0200)
commit4843546fef5e024d5754f722fd01a8dfb482ac7d
treec0dc1af68aee6befde37a53dda026745966779f3
parent5e97b97bc254b0ee23f701a4d5a317853136d288
x86/PV: make '0' debug key dump Dom0's stacks again

The conversion to __get_guest() failed to account for the fact that for
remote vCPU-s dumping gets done through a pointer obtained from
map_domain_page(): __get_guest() arranges for (apparent) accesses to
hypervisor space to cause #GP(0).

Fixes: 6a1d72d3739e ('x86: split __{get,put}_user() into "guest" and "unsafe" variants')
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/traps.c