[libvirt] [PATCH 2/6] qemu: virsh wrapper for qemu events
Eric Blake
eblake at redhat.com
Tue Feb 11 15:24:50 UTC 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140211/f3d9382c/attachment-0001.sig>
More information about the libvir-list
mailing list