Re: [libvirt] [PATCH 6/6] qemu: enable monitor event filtering by name

2014-02-11 Thread Daniel P. Berrange
On Fri, Jan 31, 2014 at 07:12:11PM -0700, Eric Blake wrote: Filtering monitor events by name requires tracking the name for the duration of the filtering. In order to free the name, I found it easiest to just piggyback on the user's freecb function, which gets called when the event is

[libvirt] [PATCH 6/6] qemu: enable monitor event filtering by name

2014-01-31 Thread Eric Blake
Filtering monitor events by name requires tracking the name for the duration of the filtering. In order to free the name, I found it easiest to just piggyback on the user's freecb function, which gets called when the event is deregistered. For events without a name filter, we have the design of