All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keirf@google.com>
To: Sean Christopherson <seanjc@google.com>
Cc: Jason Chen CJ <jason.cj.chen@intel.com>,
	kvm@vger.kernel.org, android-kvm@google.com
Subject: Re: [RFC PATCH part-1 0/5] pKVM on Intel Platform Introduction
Date: Fri, 24 Mar 2023 10:30:11 +0000	[thread overview]
Message-ID: <ZB17s69rC9ioomF7@google.com> (raw)
In-Reply-To: <ZBCC3qEPHGWnx2JO@google.com>

On Tue, Mar 14, 2023 at 07:21:18AM -0700, Sean Christopherson wrote:
> On Tue, Mar 14, 2023, Jason Chen CJ wrote:
> > On Mon, Mar 13, 2023 at 09:33:41AM -0700, Sean Christopherson wrote:
> > 
> > > On Mon, Mar 13, 2023, Jason Chen CJ wrote:
> > > > There are similar use cases on x86 platforms requesting protected
> > > > environment which is isolated from host OS for confidential computing.
> > > 
> > > What exactly are those use cases?  The more details you can provide, the better.
> > > E.g. restricting the isolated VMs to 64-bit mode a la TDX would likely simplify
> > > the pKVM implementation.
> > 
> > Thanks Sean for your comments, I am very appreciated!
> > 
> > We are expected 
> 
> Who is "we"?  Unless Intel is making a rather large pivot, I doubt Intel is the
> end customer of pKVM-on-x86.  If you aren't at liberty to say due NDA/confidentiality,
> then please work with whoever you need to in order to get permission to fully
> disclose the use case.  Because realistically, without knowing exactly what is
> in scope and why, this is going nowhere.  

This is being seriously evaluated by ChromeOS as an alternative to
their existing ManaTEE design. Compared with that (hypervisor == full
Linux) the pKVM design is pretty attractive: smaller TCB, host Linux
"VM" runs closer to native and without nested scheduling, demonstrated
better performance, and closer alignment with Android virtualisation
(that's my team, which of course is ARM focused, but we'd love to see
broader uptake of pKVM in the kernel).

 -- Keir

> > to run protected VM with general OS and may with pass-thru secure devices support.
> 
> Why?  What is the actual use case?
> 
> > May I know your suggestion of "utilize SEAM" is to follow TDX SPEC then
> > work out a SW-TDX solution, or just do some leverage from SEAM code?
> 
> Throw away TDX and let KVM run its own code in SEAM.
> 

  parent reply	other threads:[~2023-03-24 10:31 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-12 18:00 [RFC PATCH part-1 0/5] pKVM on Intel Platform Introduction Jason Chen CJ
2023-03-12 18:00 ` [RFC PATCH part-1 1/5] pkvm: arm64: Move nvhe/spinlock.h to include/asm dir Jason Chen CJ
2023-03-12 18:00 ` [RFC PATCH part-1 2/5] pkvm: arm64: Make page allocator arch agnostic Jason Chen CJ
2023-03-12 18:00 ` [RFC PATCH part-1 3/5] pkvm: arm64: Move page allocator to virt/kvm/pkvm Jason Chen CJ
2023-03-12 18:00 ` [RFC PATCH part-1 4/5] pkvm: arm64: Make memory reservation arch agnostic Jason Chen CJ
2023-03-12 18:00 ` [RFC PATCH part-1 5/5] pkvm: arm64: Move general part of memory reservation to virt/kvm/pkvm Jason Chen CJ
2023-03-13 16:33 ` [RFC PATCH part-1 0/5] pKVM on Intel Platform Introduction Sean Christopherson
2023-03-14 16:17   ` Jason Chen CJ
2023-03-14 14:21     ` Sean Christopherson
2023-03-16  8:50       ` Jason Chen CJ
2023-03-24 10:30       ` Keir Fraser [this message]
2023-06-07 14:26         ` Mickaël Salaün
2023-06-08 21:06         ` Dmytro Maluka
     [not found]           ` <d0900265-6ae6-2430-8185-4f9d153ec105@intel.com>
2023-06-09  8:08             ` Dmytro Maluka
2023-06-09 16:57           ` Trilok Soni
2023-06-09 18:44             ` Dmytro Maluka
2023-06-10  8:56               ` Dmytro Maluka
2023-06-13 17:45             ` Sean Christopherson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZB17s69rC9ioomF7@google.com \
    --to=keirf@google.com \
    --cc=android-kvm@google.com \
    --cc=jason.cj.chen@intel.com \
    --cc=kvm@vger.kernel.org \
    --cc=seanjc@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.