[Libguestfs] [nbdkit PATCH 0/2] rust: Implement some missing v2 callbacks

Richard W.M. Jones rjones at redhat.com
Fri Aug 16 17:26:11 UTC 2019


On Fri, Aug 16, 2019 at 12:08:09PM -0500, Eric Blake wrote:
> Similar to what I just did for OCaml (this IS an API break, requiring
> recompilation of any existing Rust plugin), and done because I want to
> add fast_zero support to both languages as part of my upcoming fast
> zero series.

Note that it's an API break, but not an ABI break.  OCaml and Rust
nbdkit plugins use the C ABI.

Adding Martin K in CC as he's better at this than me.  The other
patches are:
https://www.redhat.com/archives/libguestfs/2019-August/msg00286.html

Rich.

> Figuring out how to get extents working was hard enough that I punted
> that, still.
> 
> Eric Blake (2):
>   rust: Implement can_cache
>   rust: Add support for dynamic .thread_model
> 
>  plugins/rust/nbdkit-rust-plugin.pod | 29 ++++++++++++++++++++++++-----
>  plugins/rust/examples/ramdisk.rs    |  8 ++++++--
>  plugins/rust/src/lib.rs             | 23 ++++++++++++++++++++---
>  3 files changed, 50 insertions(+), 10 deletions(-)
> 
> -- 
> 2.20.1
> 
> _______________________________________________
> Libguestfs mailing list
> Libguestfs at redhat.com
> https://www.redhat.com/mailman/listinfo/libguestfs

-- 
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