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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]