On 20.03.2023 20:07, Andrew Cooper wrote: > On 20/03/2023 4:32 pm, Ковалёв Сергей wrote: >> gva_to_gfn command used for fast address translation in LibVMI project. >> With such a command it is possible to perform address translation in >> single call instead of series of queries to get every page table. >> >> Thanks to Dmitry Isaykin for involvement. >> >> Signed-off-by: Sergey Kovalev <[email protected]> > > I fully appreciate why you want this hypercall, and I've said several > times that libvmi wants something better than it has, but...
But is a domctl really the right vehicle? While not strictly intended for device models, a dm-op would seem more suitable to me. Considering you already brought altp2m into play, it could also be a sub-op of HVMOP_altp2m. Jan
