On Thu, Dec 3, 2009 at 10:20 AM, Avi Kivity <a...@redhat.com> wrote: > On 12/02/2009 03:48 PM, Glauber Costa wrote: >> >> This function is similar to qemu-kvm's on_vcpu mechanism. > > Is similar? You're replacing on_vcpu(). Yeah, it began similar, now it is pretty much the same thing, but using qemu-specific data structures
> >> Totally synchronous, >> and guarantees that a given function will be executed at the specified >> vcpu. >> >> This patch also convert usage within the breakpoints system >> >> +void qemu_queue_work(CPUState *env, void (*func)(void *data), void >> *data); >> > > The name suggests that it is asynchronous. > > Why is this patch necessary? to keep gdbstub working. > > -- > error compiling committee.c: too many arguments to function > > > > -- Glauber Costa. "Free as in Freedom" http://glommer.net "The less confident you are, the more serious you have to act."