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

Re: [libvirt] [libvirt-glib 3/3] Add guest capabilities API



On Wed, May 2, 2012 at 5:55 PM, Christophe Fergeau <cfergeau redhat com> wrote:
>> +
>> +const gchar *
>> +gvir_config_capabilities_domain_get_emulator(GVirConfigCapabilitiesDomain *caps)
>
> Is this method just a copy and paste bug, or is it needed? The reason I'm
> asking is that I cannot see the corresponding XML on
> http://libvirt.org/formatcaps.html
> <domain type="xen"></domain>
> but maybe this example is partial.

AFAICT, *in practice* you only get child nodes under 'arch/domain' if
type is 'kvm'. You might want to check against the example xml I
provided with the testcase patch (or see the output of `virsh
capabilities` on your machine) and the RNG instead of that online
example BTW.


-- 
Regards,

Zeeshan Ali (Khattak)
FSF member#5124


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