Searched hist:e24dea2afc6a0852983dc741072d8e96155e13f5 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/x86/kvm/ |
H A D | mtrr.c | diff e24dea2afc6a0852983dc741072d8e96155e13f5 Tue Dec 22 08:20:00 CST 2015 Paolo Bonzini <pbonzini@redhat.com> 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: qemu-stable@nongnu.org Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=107561 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
H A D | cpuid.h | diff e24dea2afc6a0852983dc741072d8e96155e13f5 Tue Dec 22 08:20:00 CST 2015 Paolo Bonzini <pbonzini@redhat.com> 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: qemu-stable@nongnu.org Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=107561 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|