commit | fb279950ba02e3210a16b11ecfa8871f3ee0ca49 | [log] [tgz] |
---|---|---|
author | Xiao Guangrong <guangrong.xiao@intel.com> | Thu Jul 16 03:25:56 2015 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Jul 23 08:23:01 2015 +0200 |
tree | 6dbc46398f73292a737426a37796f0a8bbc2ef85 | |
parent | 41dbc6bcd9722bba8f09256655d060af30c63d34 [diff] |
KVM: vmx: obey KVM_QUIRK_CD_NW_CLEARED OVMF depends on WB to boot fast, because it only clears caches after it has set up MTRRs---which is too late. Let's do writeback if CR0.CD is set to make it happy, similar to what SVM is already doing. Signed-off-by: Xiao Guangrong <guangrong.xiao@intel.com> Tested-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>