Home
last modified time | relevance | path

Searched hist:"4139 b1972af281e0293c2414a0f1cd59fa5b2980" (Results 1 – 4 of 4) sorted by relevance

/linux/arch/x86/kvm/mmu/
H A Dpage_track.cdiff 4139b1972af281e0293c2414a0f1cd59fa5b2980 Sat Jul 31 00:04:51 CEST 2021 Peter Xu <peterx@redhat.com> KVM: X86: Introduce kvm_mmu_slot_lpages() helpers

Introduce kvm_mmu_slot_lpages() to calculcate lpage_info and rmap array size.
The other __kvm_mmu_slot_lpages() can take an extra parameter of npages rather
than fetching from the memslot pointer. Start to use the latter one in
kvm_alloc_memslot_metadata().

Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20210730220455.26054-4-peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
/linux/arch/x86/kvm/
H A Dmmu.hdiff 4139b1972af281e0293c2414a0f1cd59fa5b2980 Sat Jul 31 00:04:51 CEST 2021 Peter Xu <peterx@redhat.com> KVM: X86: Introduce kvm_mmu_slot_lpages() helpers

Introduce kvm_mmu_slot_lpages() to calculcate lpage_info and rmap array size.
The other __kvm_mmu_slot_lpages() can take an extra parameter of npages rather
than fetching from the memslot pointer. Start to use the latter one in
kvm_alloc_memslot_metadata().

Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20210730220455.26054-4-peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
H A Dx86.cdiff 4139b1972af281e0293c2414a0f1cd59fa5b2980 Sat Jul 31 00:04:51 CEST 2021 Peter Xu <peterx@redhat.com> KVM: X86: Introduce kvm_mmu_slot_lpages() helpers

Introduce kvm_mmu_slot_lpages() to calculcate lpage_info and rmap array size.
The other __kvm_mmu_slot_lpages() can take an extra parameter of npages rather
than fetching from the memslot pointer. Start to use the latter one in
kvm_alloc_memslot_metadata().

Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20210730220455.26054-4-peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
/linux/arch/x86/include/asm/
H A Dkvm_host.hdiff 4139b1972af281e0293c2414a0f1cd59fa5b2980 Sat Jul 31 00:04:51 CEST 2021 Peter Xu <peterx@redhat.com> KVM: X86: Introduce kvm_mmu_slot_lpages() helpers

Introduce kvm_mmu_slot_lpages() to calculcate lpage_info and rmap array size.
The other __kvm_mmu_slot_lpages() can take an extra parameter of npages rather
than fetching from the memslot pointer. Start to use the latter one in
kvm_alloc_memslot_metadata().

Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20210730220455.26054-4-peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>