On 14.01.21 00:58, David Gibson wrote:
[...]
> +int s390_pv_init(ConfidentialGuestSupport *cgs, Error **errp)
> +{
> + if (!object_dynamic_cast(OBJECT(cgs), TYPE_S390_PV_GUEST)) {
> + return 0;
> + }
> +
> + if (!s390_has_feat(S390_FEAT_UNPACK)) {
> + error_setg(errp,
> + "CPU model does not support Protected Virtualization");
> + return -1;
> + }
I am triggering this and I guess this is because the cpu model is not yet
initialized at
this point in time.
- Re: [PATCH v7 10/13] spapr: Add PEF based confi... Cornelia Huck
- [PATCH v7 07/13] confidential guest support: Introdu... David Gibson
- Re: [PATCH v7 07/13] confidential guest support... Greg Kurz
- Re: [PATCH v7 07/13] confidential guest support... Cornelia Huck
- [PATCH v7 11/13] spapr: PEF: prevent migration David Gibson
- [PATCH v7 08/13] confidential guest support: Move SE... David Gibson
- Re: [PATCH v7 08/13] confidential guest support... Cornelia Huck
- Re: [PATCH v7 08/13] confidential guest sup... David Gibson
- Re: [PATCH v7 08/13] confidential guest... Cornelia Huck
- [PATCH v7 13/13] s390: Recognize confidential-guest-... David Gibson
- Re: [PATCH v7 13/13] s390: Recognize confidenti... Christian Borntraeger
- Re: [PATCH v7 13/13] s390: Recognize confid... Christian Borntraeger
- Re: [PATCH v7 13/13] s390: Recognize co... Christian Borntraeger
- Re: [PATCH v7 13/13] s390: Recogniz... David Gibson
- Re: [PATCH v7 13/13] s390: Recognize confid... David Gibson
- Re: [PATCH v7 13/13] s390: Recognize confidenti... Cornelia Huck
- Re: [PATCH v7 13/13] s390: Recognize confid... Christian Borntraeger
