On 02/28/2014 10:41 AM, Daniel P. Berrange wrote:
On Mon, Feb 24, 2014 at 05:08:29PM -0700, Eric Blake wrote:
> Similar to our event-test demo program, it's nice to be able to
> have a mode where we can sniff all events at once, rather than
> having to spawn multiple virsh in parallel with one for each
> event type.
>
>
> * tools/virsh-domain.c (cmdEvent): Add --all parameter; convert
> all callbacks to support shared counter.
> * tools/virsh.pod (event): Document it.
>
> Signed-off-by: Eric Blake <eblake(a)redhat.com>
> ---
> tools/virsh-domain.c | 136 ++++++++++++++++++++++++++++++++-------------------
> tools/virsh.pod | 8 +--
> 2 files changed, 90 insertions(+), 54 deletions(-)
ACK
Thanks; pushed.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org