[Libguestfs] [RFC nbdkit PATCH] protocol: Alter .list_exports, add .default_export

Richard W.M. Jones rjones at redhat.com
Tue Aug 25 13:11:38 UTC 2020


I think I get where my misunderstanding is now.  I thought the problem
was that the server could not store the string, but your concern is
that the plugin cannot free the string after returning it to the
caller (server).

I can't really think of a better way to do it than the interning
option you presented in the initial email.  Interning might also be
useful in future cases where we want to send strings to the server
from the plugin.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list