[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v7 13/13] s390: Recognize confidential-guest-support option
From: |
David Gibson |
Subject: |
Re: [PATCH v7 13/13] s390: Recognize confidential-guest-support option |
Date: |
Thu, 14 Jan 2021 22:45:45 +1100 |
On Thu, Jan 14, 2021 at 10:10:02AM +0100, Christian Borntraeger wrote:
>
>
> 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.
Bother. I thought I'd put the s390_pv_init() call late enough to
avoid that, but I guess not. Any chance you can debug that? Working
on s390 is far from easy for me.
--
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
signature.asc
Description: PGP signature
- Re: [PATCH v7 08/13] confidential guest support: Move SEV initialization into arch specific code, (continued)
[PATCH v7 12/13] confidential guest support: Alter virtio default properties for protected guests, David Gibson, 2021/01/13
[PATCH v7 13/13] s390: Recognize confidential-guest-support option, David Gibson, 2021/01/13
Re: [PATCH v7 13/13] s390: Recognize confidential-guest-support option,
David Gibson <=
Re: [PATCH v7 13/13] s390: Recognize confidential-guest-support option, Cornelia Huck, 2021/01/15