[Libguestfs] [PATCH libnbd v2 0/2] Enhance libev example

Nir Soffer nirsof at gmail.com
Fri Mar 5 22:33:42 UTC 2021


- Add FAIL macro to simplfy error handling.
- Support simple sparsification using full requests.

Changes since v1:
- Keep example standalone by not using izzero.h (Rich)
- Use nbd_zero only if destination supports zero (Eric)
- Fix whitespace in one DEBUG call

Nir Soffer (2):
  examples: copy-libev: Add FAIL macro
  examples: copy-libev.c: Simple sparsifying

 examples/copy-libev.c | 175 +++++++++++++++++++++++++++---------------
 1 file changed, 115 insertions(+), 60 deletions(-)

-- 
2.26.2






More information about the Libguestfs mailing list