[Libguestfs] [PATCH nbdkit 1/8] server: Implement extents/can_extents calls for plugins and filters.

Richard W.M. Jones rjones at redhat.com
Mon Mar 25 17:19:43 UTC 2019


On Mon, Mar 25, 2019 at 05:10:12PM +0000, Richard W.M. Jones wrote:
> However there is still the question of if we should always advertise
> base:allocation, and I think the answer there is yes we should always
> advertise that (to clients that ask for it).

This is what I've implemented in the next iteration:

 - can_extents still exists, and plugins may use it optionally
   to prevent .extents from being called in cases where they
   are sometimes unable to handle it

 - can_extents does _not_ affect whether or not we advertise
   base:allocation; it's always advertised to clients which
   ask for it

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v




More information about the Libguestfs mailing list