]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: use separate generations for each address space
authorPaolo Bonzini <pbonzini@redhat.com>
Sat, 4 Feb 2017 04:44:51 +0000 (20:44 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 16 Feb 2017 17:42:41 +0000 (18:42 +0100)
commit274cf938f0e8a9e80f3aec43640d727af1ad88f8
tree9b11cd4ba0250ae06fcb2d78727a2699c78a9ff7
parenta9cd066a64adf1f0a9c82c2519af9562e98d1c3a
KVM: use separate generations for each address space

This will make it easier to support multiple address spaces in
kvm_gfn_to_hva_cache_init.  Instead of having to check the address
space id, we can keep on checking just the generation number.

Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
virt/kvm/kvm_main.c