qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v7 13/13] s390: Recognize confidential-guest-support option


From: Christian Borntraeger
Subject: Re: [PATCH v7 13/13] s390: Recognize confidential-guest-support option
Date: Thu, 14 Jan 2021 10:10:02 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0


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.




reply via email to

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