Hi Mathieu,Viresh,
Talking to the pKVM guys about accessing guest private memory I was pointed toward this lkml thread:
Subject: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory Date: Wed, 6 Jul 2022 16:20:02 +0800 Message-Id: 20220706082016.2603916-1-chao.p.peng@linux.intel.com
It's focus is currently very much KVM and Intel's TDX private guest support but Will thinks this is could be something that could evolve into a standardised interface for accessing guest private memory. It's being actively iterated so now would be the time to comment if there is something we could use.
I've only skimmed over it so far and I'll try and talk to some of the other mm/kvm hackers at KVM Forum to get a better understanding. The first question I'm trying to answer is if this could be used for kernel pages as well or are we going to run into the same issues as the privcmd mmap approach?
Any thoughts?
stratos-dev@op-lists.linaro.org