On Tue, Jun 23, 2020 at 11:47:19AM +0100, Richard W.M. Jones wrote: > In theory yes, but it would require exposing the export name > (nbdkit_export_name() -> nbdkit.export_name()) to Python plugins, > which we don't do at the moment. See plugins/python/python.c: > NbdkitMethods[]. That would also mean the plugin would require the > latest nbdkit so you'd have to wait for patches to get backported to > RHEL 8.
I added a binding to nbdkit_export_name() upstream. Modifying the new tar plugin to support it is left as an exercise for the reader (but isn't very hard). Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html