lkml.org 
[lkml]   [2016]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC PATCH v1 09/28] x86/efi: Access EFI data as encrypted when SEV is active
    From
    Date


    On 23/09/16 06:37, Borislav Petkov wrote:
    > On Thu, Sep 22, 2016 at 08:23:36PM +0200, Paolo Bonzini wrote:
    >> Unless this is part of some spec, it's easier if things are the same in
    >> SME and SEV.
    > Yeah, I was pondering over how sprinkling sev_active checks might not be
    > so clean.
    >
    > I'm wondering if we could make the EFI regions presented to the guest
    > unencrypted too, as part of some SEV-specific init routine so that the
    > guest kernel doesn't need to do anything different.
    How is this even possible? The spec clearly says under SEV only in long
    mode or PAE mode guest can control whether memory is encrypted via
    c-bit, and in other modes guest will be always in encrypted mode. Guest
    EFI is also virtual, so are you suggesting EFI code (or code which loads
    EFI) should also be modified to load EFI as unencrypted? Looks it's not
    even possible to happen.

    Thanks,
    -Kai
    >

    \
     
     \ /
      Last update: 2016-09-23 11:34    [W:2.647 / U:0.056 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site