x86/vmx: Simplify PAT handling during vcpu construction
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 24 May 2018 13:15:32 +0000 (14:15 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 28 Jun 2018 10:31:00 +0000 (11:31 +0100)
commite29acab49b97bdcbae74592831994430ab861170
tree77c7c773ebc59dfec1ac335107039e6166b58af0
parentb4a049acf658e516d10765dbe26a4582860c9df6
x86/vmx: Simplify PAT handling during vcpu construction

The host PAT value is a compile time constant, and doesn't need to be read out
of hardware.  Merge this if block into the previous block, which has an
identical condition.

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