Re: [PATCH 2/6] qemu: virsh wrapper for qemu events

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

 



On 02/11/2014 08:07 AM, Daniel P. Berrange wrote:
> On Fri, Jan 31, 2014 at 07:12:07PM -0700, Eric Blake wrote:
>> Any new API deserves a good virsh wrapper :)
>>
>>     qemu-monitor-event [<domain>] [<event>] [--pretty] [--loop] [--timeout <number>]
>>

>>
>> * tools/virsh-domain.c (cmdQemuMonitorEvent): New command.
>> * tools/virsh.pod (qemu-monitor-event): Document it.
> 
> I can't help thinking that we should have a general 'virsh domain-event'
> command before we go adding a qemu specific one here. Without a generic
> command we'd be forcing people to use the QEMU specific command even
> for events where we have general support like your shutdown example.

Sure; I'll write the generic domain-event as patch 1.5/6 and submit it
shortly :)

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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