qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Re: Unmapping KVM Guest Memory from Host Kernel
@ 2024-03-08 21:05 Manwaring, Derek
  2024-03-11  9:26 ` Fuad Tabba
  0 siblings, 1 reply; 21+ messages in thread
From: Manwaring, Derek @ 2024-03-08 21:05 UTC (permalink / raw)
  To: David Woodhouse, David Matlack, Brendan Jackman, tabba@google.com,
	qperret@google.com, jason.cj.chen@intel.com
  Cc: Gowans, James, seanjc@google.com, akpm@linux-foundation.org,
	Roy, Patrick, chao.p.peng@linux.intel.com, rppt@kernel.org,
	pbonzini@redhat.com, Kalyazin, Nikita, lstoakes@gmail.com,
	Liam.Howlett@oracle.com, linux-mm@kvack.org,
	qemu-devel@nongnu.org, kirill.shutemov@linux.intel.com,
	vbabka@suse.cz, mst@redhat.com, somlo@cmu.edu,
	Graf (AWS), Alexander, kvm@vger.kernel.org,
	linux-coco@lists.linux.dev, kvmarm@lists.linux.dev,
	kvmarm@lists.cs.columbia.edu

On 2024-03-08 at 10:46-0700, David Woodhouse wrote:
> On Fri, 2024-03-08 at 09:35 -0800, David Matlack wrote:
> > I think what James is looking for (and what we are also interested
> > in), is _eliminating_ the ability to access guest memory from the
> > direct map entirely. And in general, eliminate the ability to access
> > guest memory in as many ways as possible.
>
> Well, pKVM does that...

Yes we've been looking at pKVM and it accomplishes a lot of what we're trying
to do. Our initial inclination is that we want to stick with VHE for the lower
overhead. We also want flexibility across server parts, so we would need to
get pKVM working on Intel & AMD if we went this route.

Certainly there are advantages of pKVM on the perf side like the in-place
memory sharing rather than copying as well as on the security side by simply
reducing the TCB. I'd be interested to hear others' thoughts on pKVM vs
memfd_secret or general ASI.

Derek


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2024-05-13 22:02 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <AQHacXBJeX10YUH0O0SiQBg1zQLaEw==>
2024-03-08 15:50 ` Unmapping KVM Guest Memory from Host Kernel Gowans, James
2024-03-08 16:25   ` Brendan Jackman
2024-03-08 17:35     ` David Matlack
2024-03-08 17:45       ` David Woodhouse
2024-03-08 22:47         ` Sean Christopherson
2024-03-09  2:45       ` Manwaring, Derek
2024-03-18 14:11         ` Brendan Jackman
2024-03-08 23:22   ` Sean Christopherson
2024-03-09 11:14     ` Mike Rapoport
2024-05-13 10:31       ` Patrick Roy
2024-05-13 15:39         ` Sean Christopherson
2024-05-13 16:01           ` Gowans, James
2024-05-13 17:09             ` Sean Christopherson
2024-05-13 19:43               ` Gowans, James
2024-05-13 20:36                 ` Sean Christopherson
2024-05-13 22:01                   ` Manwaring, Derek
2024-03-14 21:45     ` Manwaring, Derek
2024-03-09  5:01   ` Matthew Wilcox
2024-03-08 21:05 Manwaring, Derek
2024-03-11  9:26 ` Fuad Tabba
2024-03-11  9:29   ` Fuad Tabba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).