https://github.com/torvalds/linux
Revision e24dea2afc6a0852983dc741072d8e96155e13f5 authored by Paolo Bonzini on 22 December 2015, 14:20:00 UTC, committed by Paolo Bonzini on 22 December 2015, 14:29:00 UTC
Virtual machines can be run with CPUID such that there are no MTRRs.
In that case, the firmware will never enable MTRRs and it is obviously
undesirable to run the guest entirely with UC memory.  Check out guest
CPUID, and use WB memory if MTRR do not exist.

Cc: qemu-stable@nongnu.org
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=107561
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent fa7c4eb
History
Tip revision: e24dea2afc6a0852983dc741072d8e96155e13f5 authored by Paolo Bonzini on 22 December 2015, 14:20:00 UTC
KVM: MTRR: treat memory as writeback if MTRR is disabled in guest CPUID
Tip revision: e24dea2
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 5.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.9 KB
Kbuild -rw-r--r-- 2.6 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 328.5 KB
Makefile -rw-r--r-- 53.5 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top