cpu: Fix documentation of cpuGetModels

All callers of cpuGetModels expect @models to be NULL-terminated. Once
both x86GetModels and ppc64GetModels were fixed to meet this
expectation, we can explicitly document it.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
Jiri Denemark 2016-04-29 10:41:35 +02:00
parent 4b7c45ef61
commit 5f29c53150

View File

@ -716,7 +716,7 @@ cpuModelIsAllowed(const char *model,
* cpuGetModels:
*
* @archName: CPU architecture string
* @models: where to store the list of supported models
* @models: where to store the NULL-terminated list of supported models
*
* Fetches all CPU models supported by libvirt on @archName.
*