x86/shadow: sh_update_linear_entries() is a no-op for PV
authorJan Beulich <jbeulich@suse.com>
Wed, 22 Apr 2020 08:54:08 +0000 (10:54 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 22 Apr 2020 08:54:08 +0000 (10:54 +0200)
commit7dc64a837532efb3e42b097115199910aac6976b
treeedd2074f434a4d28335f93068b12a45526080d25
parent43f1a11f9a5727289e0c89fe5ead4594f3582efa
x86/shadow: sh_update_linear_entries() is a no-op for PV

Consolidate the shadow_mode_external() in here: Check this once at the
start of the function.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/shadow/multi.c