[libvirt] [libvirt-go PATCH 0/3] Introduce recent DomainSnapshotXML and DomainSaveImageXML flags

Eric Blake eblake at redhat.com
Fri Feb 22 16:39:06 UTC 2019


On 2/22/19 9:32 AM, Erik Skultety wrote:
> Unfortunately, in order to support the new flags, the last patch introduces an
> API breakage as the convention we use for the bindings is to also enforce types
> for flags.

Oh bummer - I didn't realize that some of the other language bindings
are more strongly typed than our C APIs.  We should probably audit to
see if we have any other APIs with foolishly reused enum types that
should instead be given their own flag type.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




More information about the libvir-list mailing list