Comment 3 for bug 1662468

Revision history for this message
Stefan Hajnoczi (stefanha) wrote : Re: [Qemu-devel] [Bug 1662468] Re: [feature request] qemu-img convert should respond to control-T like dd

On Tue, Feb 07, 2017 at 11:22:26PM -0000, Max Reitz wrote:
> That should be simple enough to implement considering we have this
> behavior already on SIGUSR1. Unfortunately, I wouldn't be able to test
> it because Linux apparently doesn't implement SIGINFO...
>
> Max
>
>
> PS: By the way, thanks for the information. I didn't know about SIGINFO at all. Well, now I have mapped Ctrl-T to SIGUSR1 in my terminal emulator so I don't have to feel quite as inferior...

Christophe: In case you hadn't seen what Max is referring to on the
qemu-img man page:

  -p display progress bar (compare, convert and rebase commands
      only). If the -p option is not used for a command that supports
      it, the progress is reported when the process receives a
      "SIGUSR1" signal.

Does this do what you want?