x86/shadow: don't pass wrong L4 MFN to guest_walk_tables()
authorJan Beulich <jbeulich@suse.com>
Wed, 20 Feb 2019 16:07:17 +0000 (17:07 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 20 Feb 2019 16:07:17 +0000 (17:07 +0100)
commitdb2af23d15077605f286d8ef86c8f5d9c1b8302a
tree64c2d7bf6010efb8d79c1944813c1711e993930b
parentb22c900c44a2db8db1c53e269e152206e55c273f
x86/shadow: don't pass wrong L4 MFN to guest_walk_tables()

64-bit PV guest user mode runs on a different L4 table. Make sure
- the accessed bit gets set in the correct table (and in log-dirty
  mode the correct page gets marked dirty) during guest walks,
- the correct table gets audited by sh_audit_gw(),
- correct info gets logged by print_gw().

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/arch/x86/mm/shadow/multi.c