libxc/pvh: set default MTRR type to write-back
authorRoger Pau Monné <roger.pau@citrix.com>
Mon, 16 Jul 2018 13:11:22 +0000 (15:11 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 16 Jul 2018 13:11:22 +0000 (15:11 +0200)
commita1c1ae0b0f5b30b5b928e45349086ec00930bccf
tree9c8183a15347ea1cdc4c54d488812d8935ca6411
parentd8b0840bb90711e93b6994e50c728bbbf0f012a0
libxc/pvh: set default MTRR type to write-back

And enable MTRR. This allows to provide a sane initial MTRR state for
PVH DomUs. This will have to be expanded when pci-passthrough support
is added to PVH guests, so that MMIO regions of devices are set as
UC.

Note that initial MTRR setup is done by hvmloader for HVM guests,
that's not used by PVH guests.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxc/xc_dom_x86.c