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

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

 



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

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]