diff options
author | Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp> | 2013-07-04 08:41:26 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-07-18 14:29:26 +0400 |
commit | e6dff7d15edfa90011298c2a37ec7c965c5f9885 (patch) | |
tree | 64e72f019682f0ac4093d5b446f87338caceb451 /arch/x86/kvm/vmx.c | |
parent | e59dbe09f8e6fb8f6ee19dc79d1a2f14299e4cd2 (diff) | |
download | linux-e6dff7d15edfa90011298c2a37ec7c965c5f9885.tar.xz |
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 <yoshikawa_takuya_b1@lab.ntt.co.jp>
Reviewed-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx.c')
0 files changed, 0 insertions, 0 deletions