qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v6 10/13] spapr: Add PEF based confidential guest support


From: David Gibson
Subject: Re: [PATCH v6 10/13] spapr: Add PEF based confidential guest support
Date: Tue, 12 Jan 2021 19:36:46 +1100

On Tue, Jan 12, 2021 at 08:56:53AM +0100, Christian Borntraeger wrote:
> 
> 
> On 12.01.21 05:45, David Gibson wrote:
> [...]
> > diff --git a/include/hw/ppc/pef.h b/include/hw/ppc/pef.h
> > new file mode 100644
> > index 0000000000..7c92391177
> > --- /dev/null
> > +++ b/include/hw/ppc/pef.h
> > @@ -0,0 +1,26 @@
> > +/*
> > + * PEF (Protected Execution Facility) for POWER support
> > + *
> > + * Copyright David Gibson, Redhat Inc. 2020
> > + *
> > + * This work is licensed under the terms of the GNU GPL, version 2 or 
> > later.
> > + * See the COPYING file in the top-level directory.
> > + *
> > + */
> > +
> > +#ifndef HW_PPC_PEF_H
> > +#define HW_PPC_PEF_H
> > +
> > +int pef_kvm_init(ConfidentialGuestSupport *cgs, Error **errp);
> > +
> > +#ifdef CONFIG_KVM
> > +void kvmppc_svm_off(Error **errp);
> > +#else
> > +static inline void kvmppc_svm_off(Error **errp)
> > +{
> > +}
> > +#endif
> > +
> > +
> > +#endif /* HW_PPC_PEF_H */
> > +
> 
> In case you do a respin, 
> 
> git am says
> Applying: confidential guest support: Update documentation
> Applying: spapr: Add PEF based confidential guest support
> .git/rebase-apply/patch:254: new blank line at EOF.
> +
> warning: 1 line adds whitespace errors.
> Applying: spapr: PEF: prevent migration

Oops, corrected.

-- 
David Gibson                    | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_ _other_
                                | _way_ _around_!
http://www.ozlabs.org/~dgibson

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]