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

Re: [libvirt] [PATCH] lib: implement new API to retrieve the list of CPU models



"Daniel P. Berrange" <berrange redhat com> writes:

>> 2) as you said, support arch=NULL to get the full list (and now that
>> I've thought more about it, I should change the error to
>> VIR_ERR_NO_SUPPORT when arch==NULL instead of raising an internal
>> error).
>
> I'd strictly forbid arch=NULL in the API and wire protocol
> (ie use remote_nonnull_string arch).

How do we get the set of supported architectures?  I'd like that for
completeness sake we take this into account now, even if there is no
real use (yet?).

Giuseppe


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