From: Xiao Guangrong Date: Mon, 15 Jun 2015 08:55:21 +0000 (+0800) Subject: KVM: x86: fix CR0.CD virtualization X-Git-Tag: omap-for-v4.2/fixes-rc1^2~138^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b18d5431acc7a2fd22767925f3a6f597aa4bd29e;p=pandora-kernel.git 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 Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed