]> xenbits.xensource.com Git - xen.git/commit
x86/shadow: drop CONFIG_HVM conditionals from sh_update_cr3()
authorJan Beulich <jbeulich@suse.com>
Fri, 29 Jul 2022 06:50:25 +0000 (08:50 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 29 Jul 2022 06:50:25 +0000 (08:50 +0200)
commit9ff3231f955cee4d62c7be6a03d061c037d7ca69
treefe1aadf3869c557e489d8b76f73d1b598bfd9c25
parent5b04fe78646a8222626996113c9d1e598cb84831
x86/shadow: drop CONFIG_HVM conditionals from sh_update_cr3()

Now that we're not building multi.c anymore for 2 and 3 guest levels
when !HVM, there's no point in having these conditionals anymore. (As
somewhat a special case, the last of the removed conditionals really
builds on shadow_mode_external() always returning false when !HVM.) This
way the code becomes a tiny bit more readable.

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