Re: [Qemu-devel] [PATCH v3 0/3] qemu-timer: make qemu_timer_mod_ns() and qemu_timer_del() thread-safe

2013-09-12 Thread liu ping fan
On Thu, Sep 12, 2013 at 4:17 PM, Stefan Hajnoczi wrote: > On Thu, Sep 12, 2013 at 11:10:01AM +0800, liu ping fan wrote: >> Do you think this series is ready to be merged? >> I have some code to run hpet on a dedicated thread, and in theory it >> will rely on this. > > Yes, it is ready. To ease th

Re: [Qemu-devel] [PATCH v3 0/3] qemu-timer: make qemu_timer_mod_ns() and qemu_timer_del() thread-safe

2013-09-12 Thread Stefan Hajnoczi
On Thu, Sep 12, 2013 at 11:10:01AM +0800, liu ping fan wrote: > Do you think this series is ready to be merged? > I have some code to run hpet on a dedicated thread, and in theory it > will rely on this. Yes, it is ready. To ease the merge I have rebased it and sent a new revision. Stefan

Re: [Qemu-devel] [PATCH v3 0/3] qemu-timer: make qemu_timer_mod_ns() and qemu_timer_del() thread-safe

2013-09-11 Thread liu ping fan
Hi Stefan, Do you think this series is ready to be merged? I have some code to run hpet on a dedicated thread, and in theory it will rely on this. Thanks and regards, Pingfan On Thu, Aug 29, 2013 at 10:42 PM, Stefan Hajnoczi wrote: > v3: > * Squashed Paolo's fixes and added his patch to avoid

[Qemu-devel] [PATCH v3 0/3] qemu-timer: make qemu_timer_mod_ns() and qemu_timer_del() thread-safe

2013-08-29 Thread Stefan Hajnoczi
v3: * Squashed Paolo's fixes and added his patch to avoid locking in timer_pending() v2: * Rebased onto qemu.git/master following the merge of Alex's AioContext timers The purpose of these patches is to eventually allow device models to set and cancel timers without holding the global mutex.