[Libguestfs] [PATCH 03/12] Add progress messages to fill command.

Richard W.M. Jones rjones at redhat.com
Wed Sep 1 08:58:05 UTC 2010


On Tue, Aug 31, 2010 at 09:11:09PM +0100, Richard Jones wrote:
> ---
>  daemon/fill.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/daemon/fill.c b/daemon/fill.c
> index 807ee39..a3e3d37 100644
> --- a/daemon/fill.c
> +++ b/daemon/fill.c
> @@ -66,6 +66,7 @@ do_fill (int c, int len, const char *path)
>        return -1;
>      }
>      n += r;
> +    notify_progress ((uint64_t) n, (uint64_t) len_sz);
>    }
>  
>    if (close (fd) == -1) {
> -- 

In these patches I forgot to add the Progress flag to the
generator ...  I'll fix that in my repo.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://et.redhat.com/~rjones/libguestfs/
See what it can do: http://et.redhat.com/~rjones/libguestfs/recipes.html




More information about the Libguestfs mailing list