Re: [libvirt] [PATCH 2/4] virsh: common code for waiting for an event

2014-02-20 Thread Daniel P. Berrange
On Fri, Feb 14, 2014 at 05:21:39PM -0700, Eric Blake wrote: I plan to add 'virsh event' to virsh-domain.c and 'virsh net-event' to virsh-network.c; but as they will share quite a bit of common boilerplate, it's better to set that up now in virsh.c. * tools/virsh.h (_vshControl): Add fields.

[libvirt] [PATCH 2/4] virsh: common code for waiting for an event

2014-02-14 Thread Eric Blake
I plan to add 'virsh event' to virsh-domain.c and 'virsh net-event' to virsh-network.c; but as they will share quite a bit of common boilerplate, it's better to set that up now in virsh.c. * tools/virsh.h (_vshControl): Add fields. (vshEventStart, vshEventWait, vshEventDone, vshEventCleanup): New