From: Sheng Yang Date: Wed, 30 Jun 2010 04:25:15 +0000 (+0800) Subject: KVM: VMX: Execute WBINVD to keep data consistency with assigned devices X-Git-Tag: v2.6.36-rc1~580^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5f48ee15c2ee3e44cf429e34b16c6fa9b900246;p=pandora-kernel.git KVM: VMX: Execute WBINVD to keep data consistency with assigned devices Some guest device driver may leverage the "Non-Snoop" I/O, and explicitly WBINVD or CLFLUSH to a RAM space. Since migration may occur before WBINVD or CLFLUSH, we need to maintain data consistency either by: 1: flushing cache (wbinvd) when the guest is scheduled out if there is no wbinvd exit, or 2: execute wbinvd on all dirty physical CPUs when guest wbinvd exits. Signed-off-by: Yaozu (Eddie) Dong Signed-off-by: Sheng Yang Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed