[libvirt] [PATCH v3 03/13] Public API

Jiri Denemark jdenemar at redhat.com
Thu Dec 17 14:07:19 UTC 2009


> > +/*
> > + * 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 ?

Just the <cpu> part of either guest or host data.

Jirka




More information about the libvir-list mailing list