Re: [PATCH v8 12/18] KVM: SVM: Add support for static allocation of unified Page Encryption Bitmap.

From: Paolo Bonzini
Date: Fri Dec 04 2020 - 06:10:10 EST


On 05/05/20 23:18, Ashish Kalra wrote:
Add support for static allocation of the unified Page encryption bitmap by extending kvm_arch_commit_memory_region() callack to add svm specific x86_ops which can read the userspace provided memory region/memslots and calculate the amount of guest RAM managed by the KVM and grow the bitmap based on that information, i.e. the highest guest PA that is mapped by a memslot.

Hi Ashish,

the commit message should explain why this is needed or useful.

Paolo