All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1662468] [NEW] [feature request] qemu-img convert should respond to control-T like dd
@ 2017-02-07 10:03 Christophe de Dinechin
  2017-02-07 12:13 ` [Qemu-devel] [Bug 1662468] " Thomas Huth
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Christophe de Dinechin @ 2017-02-07 10:03 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Since qemu-img convert is a long-running operation, it would be nice if
it reported progress in response to control-T (SIGINFO) to show progress
information, much like dd, fsck, dump, cp, etc.

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: feature-request qemu

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1662468

Title:
  [feature request] qemu-img convert should respond to control-T like dd

Status in QEMU:
  New

Bug description:
  Since qemu-img convert is a long-running operation, it would be nice
  if it reported progress in response to control-T (SIGINFO) to show
  progress information, much like dd, fsck, dump, cp, etc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1662468/+subscriptions

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Qemu-devel] [Bug 1662468] Re: [feature request] qemu-img convert should respond to control-T like dd
  2017-02-07 10:03 [Qemu-devel] [Bug 1662468] [NEW] [feature request] qemu-img convert should respond to control-T like dd Christophe de Dinechin
@ 2017-02-07 12:13 ` Thomas Huth
  2017-02-07 23:22 ` Max Reitz
  2017-08-30 20:12 ` Thomas Huth
  2 siblings, 0 replies; 8+ messages in thread
From: Thomas Huth @ 2017-02-07 12:13 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
   Importance: Undecided => Wishlist

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1662468

Title:
  [feature request] qemu-img convert should respond to control-T like dd

Status in QEMU:
  New

Bug description:
  Since qemu-img convert is a long-running operation, it would be nice
  if it reported progress in response to control-T (SIGINFO) to show
  progress information, much like dd, fsck, dump, cp, etc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1662468/+subscriptions

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Qemu-devel] [Bug 1662468] Re: [feature request] qemu-img convert should respond to control-T like dd
  2017-02-07 10:03 [Qemu-devel] [Bug 1662468] [NEW] [feature request] qemu-img convert should respond to control-T like dd Christophe de Dinechin
  2017-02-07 12:13 ` [Qemu-devel] [Bug 1662468] " Thomas Huth
@ 2017-02-07 23:22 ` Max Reitz
  2017-02-08  1:29   ` Laszlo Ersek
  2017-02-13 14:26   ` Stefan Hajnoczi
  2017-08-30 20:12 ` Thomas Huth
  2 siblings, 2 replies; 8+ messages in thread
From: Max Reitz @ 2017-02-07 23:22 UTC (permalink / raw)
  To: qemu-devel

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...

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1662468

Title:
  [feature request] qemu-img convert should respond to control-T like dd

Status in QEMU:
  New

Bug description:
  Since qemu-img convert is a long-running operation, it would be nice
  if it reported progress in response to control-T (SIGINFO) to show
  progress information, much like dd, fsck, dump, cp, etc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1662468/+subscriptions

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] [Bug 1662468] Re: [feature request] qemu-img convert should respond to control-T like dd
  2017-02-07 23:22 ` Max Reitz
@ 2017-02-08  1:29   ` Laszlo Ersek
  2017-02-08 14:04     ` Max Reitz
  2017-02-13 14:26   ` Stefan Hajnoczi
  1 sibling, 1 reply; 8+ messages in thread
From: Laszlo Ersek @ 2017-02-08  1:29 UTC (permalink / raw)
  To: Bug 1662468, qemu-devel

On 02/08/17 00:22, 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...
> 

By that you may have lost the following Readline action:

       transpose-chars (C-t)
              Drag the character before point forward over the charac-
              ter at point, moving point forward as well.  If point is
              at  the  end  of  the line, then this transposes the two
              characters before point.   Negative  arguments  have  no
              effect.

I'm sure you've been using that all the time... ;)

Laszlo

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] [Bug 1662468] Re: [feature request] qemu-img convert should respond to control-T like dd
  2017-02-08  1:29   ` Laszlo Ersek
@ 2017-02-08 14:04     ` Max Reitz
  2017-02-08 14:55       ` Laszlo Ersek
  0 siblings, 1 reply; 8+ messages in thread
From: Max Reitz @ 2017-02-08 14:04 UTC (permalink / raw)
  To: Laszlo Ersek, qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1300 bytes --]

[removed LP from CC, but kept qemu-devel because everyone is interested]

On 08.02.2017 02:29, Laszlo Ersek wrote:
> On 02/08/17 00:22, 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...
>>
> 
> By that you may have lost the following Readline action:
> 
>        transpose-chars (C-t)
>               Drag the character before point forward over the charac-
>               ter at point, moving point forward as well.  If point is
>               at  the  end  of  the line, then this transposes the two
>               characters before point.   Negative  arguments  have  no
>               effect.
> 
> I'm sure you've been using that all the time... ;)

More importantly, I forgot that C-T is my shortcut in vim for going back
the cscope stack. I accidentally killed vim twice until I figured out
what "Vim: Caught deadly signal USR1" means.

I then put it on Ctrl-Alt-T. :-)

Max


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 512 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] [Bug 1662468] Re: [feature request] qemu-img convert should respond to control-T like dd
  2017-02-08 14:04     ` Max Reitz
@ 2017-02-08 14:55       ` Laszlo Ersek
  0 siblings, 0 replies; 8+ messages in thread
From: Laszlo Ersek @ 2017-02-08 14:55 UTC (permalink / raw)
  To: Max Reitz, qemu-devel

On 02/08/17 15:04, Max Reitz wrote:
> [removed LP from CC, but kept qemu-devel because everyone is interested]

[citation needed] :)

> On 08.02.2017 02:29, Laszlo Ersek wrote:
>> On 02/08/17 00:22, 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...
>>>
>>
>> By that you may have lost the following Readline action:
>>
>>        transpose-chars (C-t)
>>               Drag the character before point forward over the charac-
>>               ter at point, moving point forward as well.  If point is
>>               at  the  end  of  the line, then this transposes the two
>>               characters before point.   Negative  arguments  have  no
>>               effect.
>>
>> I'm sure you've been using that all the time... ;)
> 
> More importantly, I forgot that C-T is my shortcut in vim for going back
> the cscope stack. I accidentally killed vim twice until I figured out
> what "Vim: Caught deadly signal USR1" means.

Haha, very cool!

> 
> I then put it on Ctrl-Alt-T. :-)

No can do; that's my shortcut in IceWM for opening an xterm! :)

Laszlo

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] [Bug 1662468] Re: [feature request] qemu-img convert should respond to control-T like dd
  2017-02-07 23:22 ` Max Reitz
  2017-02-08  1:29   ` Laszlo Ersek
@ 2017-02-13 14:26   ` Stefan Hajnoczi
  1 sibling, 0 replies; 8+ messages in thread
From: Stefan Hajnoczi @ 2017-02-13 14:26 UTC (permalink / raw)
  To: Max Reitz; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 828 bytes --]

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?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Qemu-devel] [Bug 1662468] Re: [feature request] qemu-img convert should respond to control-T like dd
  2017-02-07 10:03 [Qemu-devel] [Bug 1662468] [NEW] [feature request] qemu-img convert should respond to control-T like dd Christophe de Dinechin
  2017-02-07 12:13 ` [Qemu-devel] [Bug 1662468] " Thomas Huth
  2017-02-07 23:22 ` Max Reitz
@ 2017-08-30 20:12 ` Thomas Huth
  2 siblings, 0 replies; 8+ messages in thread
From: Thomas Huth @ 2017-08-30 20:12 UTC (permalink / raw)
  To: qemu-devel

Fix has been included in v2.10.0:
https://git.qemu.org/?p=qemu.git;a=commitdiff;h=262fbae692722d5c8b

** Changed in: qemu
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1662468

Title:
  [feature request] qemu-img convert should respond to control-T like dd

Status in QEMU:
  Fix Released

Bug description:
  Since qemu-img convert is a long-running operation, it would be nice
  if it reported progress in response to control-T (SIGINFO) to show
  progress information, much like dd, fsck, dump, cp, etc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1662468/+subscriptions

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-08-30 20:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-07 10:03 [Qemu-devel] [Bug 1662468] [NEW] [feature request] qemu-img convert should respond to control-T like dd Christophe de Dinechin
2017-02-07 12:13 ` [Qemu-devel] [Bug 1662468] " Thomas Huth
2017-02-07 23:22 ` Max Reitz
2017-02-08  1:29   ` Laszlo Ersek
2017-02-08 14:04     ` Max Reitz
2017-02-08 14:55       ` Laszlo Ersek
2017-02-13 14:26   ` Stefan Hajnoczi
2017-08-30 20:12 ` Thomas Huth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.