Re: [Libguestfs] [PATCH libnbd 5/8] copy: Introduce worker struct

2022-02-20 Thread Richard W.M. Jones
ACK patch 5 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 W

[Libguestfs] [PATCH libnbd 5/8] copy: Introduce worker struct

2022-02-20 Thread Nir Soffer
I want to keep more info per worker, and using a worker struct is the natural way to do this. This also allows cleaning up the ops-* interface which accepted uintptr_t index while the index is never a pointer. I think the pointer is a result of passing the index to the thread using the void* pointe