qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/6] Allow multiple monitor devices (v2)


From: Jamie Lokier
Subject: Re: [Qemu-devel] [PATCH 1/6] Allow multiple monitor devices (v2)
Date: Thu, 9 Apr 2009 17:01:19 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]