[Libguestfs] [PATCH 4/9] backend: Add a .plugin_name method.
Eric Blake
eblake at redhat.com
Wed Jan 17 22:14:56 UTC 2018
On 01/17/2018 02:53 PM, Richard W.M. Jones wrote:
> This returns the plugin name, which for plugins is the same as the
> ordinary .name method (but for filters will be different).
> ---
Just as .name and .plugin_name can differ for filters, should we also
have a way to report independent version numbers (via .version) for the
filter, compared to the version of the underlying plugin (via
.plugin_version)?
> +++ b/src/plugins.c
> @@ -465,6 +465,7 @@ static struct backend plugin_functions = {
> .free = plugin_free,
> .thread_model = plugin_thread_model,
> .name = plugin_name,
> + .plugin_name = plugin_name,
> .usage = plugin_usage,
> .version = plugin_version,
> .dump_fields = plugin_dump_fields,
>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20180117/54d20244/attachment.sig>
More information about the Libguestfs
mailing list