Add dd-style SIGUSR1 progress reporting
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 27 Apr 2011 12:31:50 +0000 (14:31 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 27 Apr 2011 14:21:00 +0000 (16:21 +0200)
commitd52fd85d632ebe10ccb797305c4345dfebcadab9
tree60a2f8140e3d432efb239e1cee75a189439d5c30
parent4045a1f6f76e1a4a2ac1766f951a1ecd2885af2e
Add dd-style SIGUSR1 progress reporting

This introduces support for dd-style progress reporting on POSIX
systems, if the user hasn't specified -p to report progress. If sent a
SIGUSR1, qemu-img will report current progress for commands that
support progress reporting.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-progress.c