lkml.org 
[lkml]   [2023]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v5 06/10] KVM: xen: allow shared_info to be mapped by fixed HVA
From
Date
On Fri, 2023-09-22 at 15:00 +0000, Paul Durrant wrote:
> From: Paul Durrant <pdurrant@amazon.com>
>
> The shared_info page is not guest memory as such. It is a dedicated page
> allocated by the VMM and overlaid onto guest memory in a GFN chosen by the
> guest. The guest may even request that shared_info be moved from one GFN
> to another, but the HVA is never going to change. Thus it makes much more
> sense to map the shared_info page in kernel once using this fixed HVA.

The words "makes much more sense" are doing a *lot* of work there. :)

When heckling the cover letter in
https://lore.kernel.org/kvm/d13e459e221f28fb1865eedea023e583a2277ab1.camel@infradead.org/
I suggested that the explanation probably wants to make it into a
commit message rather than just the cover letter which tends not to be
preserved in the commit history. It's *this* commit which needs it, I
think.
[unhandled content-type:application/pkcs7-signature]
\
 
 \ /
  Last update: 2023-09-23 09:07    [W:1.072 / U:1.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site