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

Re: [Xen-devel] [PATCH v2 11/12] x86/altp2m: Add altp2mhvm HVM domain parameter.



>>> On 24.06.15 at 20:08, <andrew.cooper3@xxxxxxxxxx> wrote:
> On 24/06/15 18:57, Ed White wrote:
>> On 06/24/2015 07:59 AM, Jan Beulich wrote:
>>>>>> On 22.06.15 at 20:56, <edmund.h.white@xxxxxxxxx> wrote:
>>>> +    case HVM_PARAM_ALTP2MHVM:
>>>> +        if ( a.value > 1 )
>>>> +            rc = -EINVAL;
>>>> +        if ( a.value &&
>>>> +             d->arch.hvm_domain.params[HVM_PARAM_NESTEDHVM] )
>>>> +            rc = -EINVAL;
>>>> +        break;
>>> As you added the new param to the change-once section of
>>> hvm_allow_set_param() - what is this code good for?
>> I don't understand. How does change-once invalidate this code?
> 
> I don't believe it does.  This code (appears to) enforce the param being
> a boolean, and exclusive against HVM_PARAM_NESTEDHVM.

Ah, indeed - I didn't pay attention to it being a different param
in the second if(). I.e. scratch the reply I just sent to Ed's mail.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.