diff options
author | Paolo Bonzini <[email protected]> | 2015-12-22 15:20:00 +0100 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2015-12-22 15:29:00 +0100 |
commit | e24dea2afc6a0852983dc741072d8e96155e13f5 (patch) | |
tree | 80b972cf9cd865559d6b6aae01392bc5bc4321b3 /tools/perf/util/trace-event-scripting.c | |
parent | fa7c4ebd5ae0c22f9908436303106a9ffcf0cf42 (diff) |
KVM: MTRR: treat memory as writeback if MTRR is disabled in guest CPUID
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: [email protected]
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=107561
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions