hvm/mtrr: remove unnecessary is_hvm_domain check
authorRoger Pau Monné <roger.pau@citrix.com>
Tue, 30 Mar 2021 12:37:53 +0000 (14:37 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 30 Mar 2021 12:37:53 +0000 (14:37 +0200)
commit14612851867e61cf5b46f13aca5a2ce2c329efb6
treec06a76437cc83ded30fb0e39afe8e67a50509bdf
parent60081862a8272fb021d4f4b85ee83eafe048f8f0
hvm/mtrr: remove unnecessary is_hvm_domain check

epte_get_entry_emt will only be called for HVM domains, so the
is_hvm_domain check is unnecessary. It's a remnant of PVHv1.

Shouldn't result in any functional change.

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