Avi Kivity wrote:
>I think the thing that is missing is that the 'wait'
command does not
>have to be part of the non-human mode. In non-human mode, you are
>always doing an implicit wait.
I think 'wait' is unusable for humans. If I want qemu to tell me
something happened, it's enough to enable notifications. There's no
need to tell it to wait every time something happens. That's poll(2),
there's no poll(1).
For some purposes I'd prefer 'wait' on a separate monitor. For the
same reason that we sometimes redirect the output of background shell
commands to a file :-)
Solution: 'wait -background' for those async notifications.
Or simply 'notify -background event-type', no need for a wait command
if you give that option.
Or conversely 'notify -channel 1 event-type' to direct the events to
channel 1, and 'wait -channel 1' to show events on that channel.
-- Jamie