]> xenbits.xensource.com Git - people/hx242/xen.git/commit
x86/HVM: relax shadow mode check in hvm_set_cr3()
authorJan Beulich <jbeulich@suse.com>
Wed, 18 Sep 2019 13:19:08 +0000 (15:19 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 18 Sep 2019 13:19:08 +0000 (15:19 +0200)
commit24c704fb0cd621ffb9e8c5b97fcb83469bd019f7
tree614ddfcbb378b16b0875829cfe080c4b2ac6e67b
parentedc426665f88994a1cdc893c30df66706dc6d654
x86/HVM: relax shadow mode check in hvm_set_cr3()

There's no need to re-obtain a page reference if only bits not affecting
the address change.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/hvm.c