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
- [PATCH v6 07/13] confidential guest support: Introdu... David Gibson
- [PATCH v6 06/13] sev: Add Error ** to sev_kvm_init() David Gibson
- [PATCH v6 11/13] spapr: PEF: prevent migration David Gibson
- [PATCH v6 05/13] confidential guest support: Rework ... David Gibson
- Re: [PATCH v6 05/13] confidential guest support... Greg Kurz
- Re: [PATCH v6 05/13] confidential guest sup... David Gibson
- [PATCH v6 12/13] confidential guest support: Alter v... David Gibson
- [PATCH v6 10/13] spapr: Add PEF based confidential g... David Gibson
- Re: [PATCH v6 10/13] spapr: Add PEF based confi... Christian Borntraeger
- Re: [PATCH v6 10/13] spapr: Add PEF based c... David Gibson
- Re: [PATCH v6 10/13] spapr: Add PEF based confi... Daniel P . Berrangé
- Re: [PATCH v6 10/13] spapr: Add PEF based confi... Daniel P . Berrangé
- Re: [PATCH v6 10/13] spapr: Add PEF based c... David Gibson
- Re: [PATCH v6 10/13] spapr: Add PEF based confi... Greg Kurz
- Re: [PATCH v6 10/13] spapr: Add PEF based c... David Gibson
- [PATCH v6 13/13] s390: Recognize confidential-guest-... David Gibson
- Re: [PATCH v6 13/13] s390: Recognize confidenti... Christian Borntraeger
- Re: [PATCH v6 13/13] s390: Recognize confid... Cornelia Huck
- Re: [PATCH v6 13/13] s390: Recognize co... Christian Borntraeger
