Skip to content
Commit fd717f11 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: x86: apply guest MTRR virtualization on host reserved pages



Currently guest MTRR is avoided if kvm_is_reserved_pfn returns true.
However, the guest could prefer a different page type than UC for
such pages. A good example is that pass-throughed VGA frame buffer is
not always UC as host expected.

This patch enables full use of virtual guest MTRRs.

Suggested-by: default avatarXiao Guangrong <guangrong.xiao@linux.intel.com>
Tested-by: Joerg Roedel <jroedel@suse.de> (on AMD)
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent e098223b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment