commit | b18d5431acc7a2fd22767925f3a6f597aa4bd29e | [log] [tgz] |
---|---|---|
author | Xiao Guangrong <guangrong.xiao@linux.intel.com> | Mon Jun 15 16:55:21 2015 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Jun 19 17:16:26 2015 +0200 |
tree | 39042bb68dcb21f6988d84736808e6d3272c5ff4 | |
parent | f104765b4f81fd74d69e0eb161e89096deade2db [diff] |
KVM: x86: fix CR0.CD virtualization Currently, CR0.CD is not checked when we virtualize memory cache type for noncoherent_dma guests, this patch fixes it by : - setting UC for all memory if CR0.CD = 1 - zapping all the last sptes in MMU if CR0.CD is changed Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>