Re: [Libguestfs] [nbdkit PATCH 03/10] filters: Wire up filter support for NBD_INFO_INIT_STATE

2020-02-11 Thread Eric Blake
On 2/11/20 4:40 AM, Richard W.M. Jones wrote: On Mon, Feb 10, 2020 at 03:43:56PM -0600, Eric Blake wrote: extentlist (answer based on the extents we are advertising), noextents (suppress the advertisement), and truncate (advertise sparse support diff --git a/filters/noextents/noextents.c

Re: [Libguestfs] [nbdkit PATCH 03/10] filters: Wire up filter support for NBD_INFO_INIT_STATE

2020-02-11 Thread Richard W.M. Jones
On Mon, Feb 10, 2020 at 03:43:56PM -0600, Eric Blake wrote: > diff --git a/filters/noextents/noextents.c b/filters/noextents/noextents.c > index e6ac33b..091f30b 100644 > --- a/filters/noextents/noextents.c > +++ b/filters/noextents/noextents.c > @@ -1,5 +1,5 @@ > /* nbdkit > - * Copyright (C)

[Libguestfs] [nbdkit PATCH 03/10] filters: Wire up filter support for NBD_INFO_INIT_STATE

2020-02-10 Thread Eric Blake
The NBD protocol is adding an extension to let servers advertise initialization state to the client: whether the image contains holes, and whether it is known to read as all zeroes. Most filters just pass through the plugin's result (as it is only checked once when first connecting), but we can