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

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Wed May 2 15:49:02 UTC 2012


On Wed, May 2, 2012 at 5:55 PM, Christophe Fergeau <cfergeau at 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




More information about the libvir-list mailing list