virConnectBaselineCPU public API

This commit is contained in:
Jiri Denemark
2010-01-22 14:52:41 +01:00
parent 5130713ba1
commit 605542c330
5 changed files with 79 additions and 0 deletions

View File

@@ -1769,6 +1769,24 @@ int virConnectCompareCPU(virConnectPtr conn,
unsigned int flags);
/**
* virConnectBaselineCPU:
*
* @conn: virConnect connection
* @ncpus: number of CPUs in xmlCPUs
* @xmlCPUs: array of XML descriptions of host CPUs
* @flags: fine-tuning flags
*
* Computes the most feature-rich CPU which is compatible with all given
* host CPUs.
*
* Returns XML description of the computed CPU or NULL on error.
*/
char *virConnectBaselineCPU(virConnectPtr conn,
const char **xmlCPUs,
unsigned int ncpus,
unsigned int flags);
#ifdef __cplusplus
}
#endif