commit | 3ed1a4787617f948631a77903453847142271867 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Tue May 19 16:29:22 2015 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu May 28 10:43:34 2015 +0200 |
tree | 28703732d61a536cd5869d463b0115a700203b2b | |
parent | e37afc6ee5a6af9b334e2f214ec795e8bfaaaba5 [diff] |
KVM: x86: pass struct kvm_mmu_page to account/unaccount_shadowed Prepare for multiple address spaces this way, since a VCPU is not available where unaccount_shadowed is called. We will get to the right kvm_memslots struct through the role field in struct kvm_mmu_page. Reviewed-by: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp> Reviewed-by: Radim Krcmar <rkrcmar@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>