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