--On 25 July 2013 11:11:22 +0200 Paolo Bonzini <pbonz...@redhat.com> wrote:
If this function is supposed to work when called from another thread (e.g. vcpu thread), then you need to call qemu_notify_event(). For AioContext clocks that should be aio_notify() with the relevant AioContext, but we don't need that yet.In general QEMUClock should have an AioContext pointer so that it can call aio_notify.
OK, if we do that, disregard my comment about always using qemu_notify_event. -- Alex Bligh