On Thu, Aug 07, 2025, Sagi Shahar wrote: > From: Ackerley Tng <ackerley...@google.com> > > One-to-one GVA to GPA mappings can be used in the guest to set up boot > sequences during which paging is enabled, hence requiring a transition > from using physical to virtual addresses in consecutive instructions.
NAK, this is an extremely convoluted way for establishing mappings for hardcoded boot ranges. Just use virt_map(). And if clobbering an existing mapping is a concern, we should add an assert in virt_map() to verify the address is available.