On 24/06/21 05:57, David Stevens wrote:
static int __direct_map(struct kvm_vcpu *vcpu, gpa_t gpa, u32 error_code,
int map_writable, int max_level, kvm_pfn_t pfn,
int map_writable, int max_level,
{ bool nx_huge_page_workaround_enabled = is_nx_huge_paconst struct kvm_pfn_page *pfnpg, bool prefault, bool is_tdp)
So the main difference with my tentative patches is that here I was passing the struct by value. I'll try to clean this up for 5.15, but for now it's all good like this. Thanks again!
Paolo