[libvirt] [PATCH v3 03/13] Public API
Daniel P. Berrange
berrange at redhat.com
Thu Dec 17 13:54:03 UTC 2009
On Wed, Dec 16, 2009 at 12:04:00AM +0100, Jiri Denemark wrote:
>
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
> include/libvirt/libvirt.h.in | 13 +++++++++++++
> src/libvirt_public.syms | 5 +++++
> 2 files changed, 18 insertions(+), 0 deletions(-)
>
> diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in
> index 6c3aded..473d2a2 100644
> --- a/include/libvirt/libvirt.h.in
> +++ b/include/libvirt/libvirt.h.in
> @@ -1676,6 +1676,19 @@ int virInterfaceIsActive(virInterfacePtr iface);
> int virConnectIsEncrypted(virConnectPtr conn);
> int virConnectIsSecure(virConnectPtr conn);
>
> +/*
> + * CPU specification API
> + */
> +
> +typedef enum {
> + VIR_CPU_COMPARE_ERROR = -1,
> + VIR_CPU_COMPARE_INCOMPATIBLE = 0,
> + VIR_CPU_COMPARE_IDENTICAL = 1,
> + VIR_CPU_COMPARE_SUPERSET = 2
> +} virCPUCompareResult;
> +
> +int virConnectCompareCPU(virConnectPtr conn,
> + const char *xmlDesc);
Which is the XML format expected here ? Is this allowing the
guest XML data, or just the <cpu> part of it ?
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the libvir-list
mailing list