]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Cache as_id in kvm_memory_slot
authorPeter Xu <peterx@redhat.com>
Wed, 14 Oct 2020 18:26:46 +0000 (11:26 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 21 Oct 2020 22:17:01 +0000 (18:17 -0400)
commitbef450938f0901257d54aeabb1feabb8bcb76c9d
tree5902dbf1cd1a5dc09d8f69b9b098c8478a302b79
parent9401e713770723de2f23088fef87e30f440a30f4
KVM: Cache as_id in kvm_memory_slot

Cache the address space ID just like the slot ID.  It will be used in
order to fill in the dirty ring entries.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Suggested-by: Sean Christopherson <sean.j.christopherson@intel.com>
Reviewed-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20201014182700.2888246-7-bgardon@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/linux/kvm_host.h
virt/kvm/kvm_main.c