mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Remove redundant docs from libvirt.h
Only types and macros are documented in libvirt.h, APIs are documented in the *.c file they are implemented in. Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
a4743860f8
commit
c3d94f79d2
@ -4122,17 +4122,6 @@ typedef enum {
|
|||||||
#endif
|
#endif
|
||||||
} virCPUCompareResult;
|
} virCPUCompareResult;
|
||||||
|
|
||||||
/**
|
|
||||||
* virConnectCompareCPU:
|
|
||||||
*
|
|
||||||
* @conn: virConnect connection
|
|
||||||
* @xmlDesc: XML description of either guest or host cpu with <cpu> root tag
|
|
||||||
* @flags: comparison flags
|
|
||||||
*
|
|
||||||
* Compares given CPU with host cpu.
|
|
||||||
*
|
|
||||||
* Returns virCPUCompareResult.
|
|
||||||
*/
|
|
||||||
int virConnectCompareCPU(virConnectPtr conn,
|
int virConnectCompareCPU(virConnectPtr conn,
|
||||||
const char *xmlDesc,
|
const char *xmlDesc,
|
||||||
unsigned int flags);
|
unsigned int flags);
|
||||||
@ -4151,19 +4140,6 @@ typedef enum {
|
|||||||
VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES = (1 << 0), /* show all features */
|
VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES = (1 << 0), /* show all features */
|
||||||
} virConnectBaselineCPUFlags;
|
} virConnectBaselineCPUFlags;
|
||||||
|
|
||||||
/**
|
|
||||||
* 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,
|
char *virConnectBaselineCPU(virConnectPtr conn,
|
||||||
const char **xmlCPUs,
|
const char **xmlCPUs,
|
||||||
unsigned int ncpus,
|
unsigned int ncpus,
|
||||||
|
Loading…
Reference in New Issue
Block a user