mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
virConnectBaselineCPU public API
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user