[Libguestfs] [nbdkit PATCH 1/2] include: Expose nbdkit version information to public

Richard W.M. Jones rjones at redhat.com
Fri Aug 30 14:58:05 UTC 2019


As we discussed on IRC, patch 1 is obvious and uncontroversial, let's
do it.

I think patch 2 is overkill really, and weird pointer tricks have a
habit of breaking on big endian / 32 bit / obscure platforms.  Why
don't we just create a brand new filter API number (6 I think), reject
everything with API != 6, and as a further test verify that
strcmp (filter->version, PACKAGE_VERSION) == 0 ?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list