From: Takuya Yoshikawa Date: Thu, 4 Jul 2013 04:41:26 +0000 (+0900) Subject: KVM: x86: Avoid zapping mmio sptes twice for generation wraparound X-Git-Tag: v3.12-rc1~143^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6dff7d15edfa90011298c2a37ec7c965c5f9885;p=pandora-kernel.git KVM: x86: Avoid zapping mmio sptes twice for generation wraparound Now that kvm_arch_memslots_updated() catches every increment of the memslots->generation, checking if the mmio generation has reached its maximum value is enough. Signed-off-by: Takuya Yoshikawa Reviewed-by: Xiao Guangrong Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed