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

Giuseppe Scrivano gscrivan at redhat.com
Thu Aug 22 10:06:55 UTC 2013


"Daniel P. Berrange" <berrange at 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




More information about the libvir-list mailing list