Re: [Qemu-devel] [PATCH 3/3] monitor: remove old entries from event hash table

2015-09-17 Thread Marc-André Lureau
On Wed, Sep 16, 2015 at 6:50 PM, Markus Armbruster wrote: > I doubt you're supposed to poke into p->timer like that. > I don't think that matters, much (it could have a helper perhaps), anyway: >> +timer_mod_ns(p->timer, then); >> +} >> + >> +static void monitor_qapi_event_id_handler(void *o

Re: [Qemu-devel] [PATCH 3/3] monitor: remove old entries from event hash table

2015-09-16 Thread Markus Armbruster
marcandre.lur...@redhat.com writes: > From: Marc-André Lureau > > Do not let the hash table grow without limit, schedule a cleanup for > outdated event. > > Signed-off-by: Marc-André Lureau > --- > monitor.c | 47 ++- > 1 file changed, 46 insertions(+

Re: [Qemu-devel] [PATCH 3/3] monitor: remove old entries from event hash table

2015-09-10 Thread Daniel P. Berrange
On Wed, Sep 02, 2015 at 01:09:43PM +0200, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > Do not let the hash table grow without limit, schedule a cleanup for > outdated event. > > Signed-off-by: Marc-André Lureau > --- > monitor.c | 47

[Qemu-devel] [PATCH 3/3] monitor: remove old entries from event hash table

2015-09-02 Thread marcandre . lureau
From: Marc-André Lureau Do not let the hash table grow without limit, schedule a cleanup for outdated event. Signed-off-by: Marc-André Lureau --- monitor.c | 47 ++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/monitor.c b/monitor.c