]> xenbits.xensource.com Git - people/royger/xen.git/commit
x86: restrict HVMOP_pagetable_dying to current
authorJan Beulich <jbeulich@suse.com>
Fri, 26 Oct 2018 13:18:52 +0000 (15:18 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 26 Oct 2018 13:18:52 +0000 (15:18 +0200)
commita14ca73359ec7b47c1b81b3ad88ef17baf6ebdfb
tree286ff3bcd5076ece3b5696ed5ae496d4bdc86364
parent9c462cea68c97029ccb13ab520721b1a2cb99ab1
x86: restrict HVMOP_pagetable_dying to current

This is not used (and probably was never meant to be) by the tool stack.
Limiting it to the current domain in particular allows to eliminate a
bogus use of vCPU 0 in pagetable_dying().

Remove the now unnecessary domain/vCPU parameters from the wrapper/hook
functions at the same time.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/mm/paging.c
xen/arch/x86/mm/shadow/multi.c
xen/include/asm-x86/paging.h