[Libguestfs] [PATCH nbdkit v2 2/4] filters: Implement next_ops .reopen call.
Richard W.M. Jones
rjones at redhat.com
Thu Sep 19 15:54:19 UTC 2019
On Thu, Sep 19, 2019 at 10:51:38AM -0500, Eric Blake wrote:
> On 9/19/19 9:33 AM, Richard W.M. Jones wrote:
> > +++ b/server/internal.h
> > @@ -307,6 +307,7 @@ struct backend {
> > int (*prepare) (struct backend *, struct connection *conn, int readonly);
> > int (*finalize) (struct backend *, struct connection *conn);
> > void (*close) (struct backend *, struct connection *conn);
> > + int (*reopen) (struct backend *, struct connection *conn);
>
> Why is this needed? We don't provide a .reopen callback for either
> plugins or filters (filters use next_ops->reopen, but don't override it
> themselves).
It's not - mistake, will delete it.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages. http://libguestfs.org
More information about the Libguestfs
mailing list