[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [PATCH 04/11] qemu_flush_work for remote vcpu exec
From: |
Glauber Costa |
Subject: |
Re: [Qemu-devel] Re: [PATCH 04/11] qemu_flush_work for remote vcpu execution |
Date: |
Thu, 3 Dec 2009 10:37:47 -0200 |
>
> Keep the name then. The new name is misleading.
ok.
>>>> 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.
>>
>
> "Because it fixes things".
>
> Please elaborate.
>
gdbstub is called from the i/o thread , and call vcpu ioctls. So it
has to use the on_vcpu
mechanism to guarantee its execution in the right thread.
What I meant is that currently, gdbstub is the only user of it, at
least in qemu.git
--
Glauber Costa.
"Free as in Freedom"
http://glommer.net
"The less confident you are, the more serious you have to act."
- [Qemu-devel] [PATCH 10/11] Use __thread where available., (continued)
- [Qemu-devel] [PATCH 10/11] Use __thread where available., Glauber Costa, 2009/12/02
- [Qemu-devel] [PATCH 11/11] remove smp restriction from kvm, Glauber Costa, 2009/12/02
- [Qemu-devel] Re: [PATCH 11/11] remove smp restriction from kvm, Avi Kivity, 2009/12/03
- Re: [Qemu-devel] Re: [PATCH 11/11] remove smp restriction from kvm, Glauber Costa, 2009/12/03
- Re: [Qemu-devel] Re: [PATCH 11/11] remove smp restriction from kvm, Avi Kivity, 2009/12/03
- Re: [Qemu-devel] Re: [PATCH 11/11] remove smp restriction from kvm, Glauber Costa, 2009/12/03
- Re: [Qemu-devel] Re: [PATCH 11/11] remove smp restriction from kvm, Avi Kivity, 2009/12/03
- [Qemu-devel] Re: [PATCH 04/11] qemu_flush_work for remote vcpu execution, Avi Kivity, 2009/12/03
- Re: [Qemu-devel] Re: [PATCH 04/11] qemu_flush_work for remote vcpu execution, Glauber Costa, 2009/12/03
- Re: [Qemu-devel] Re: [PATCH 04/11] qemu_flush_work for remote vcpu execution, Avi Kivity, 2009/12/03
- Re: [Qemu-devel] Re: [PATCH 04/11] qemu_flush_work for remote vcpu execution,
Glauber Costa <=
- Re: [Qemu-devel] Re: [PATCH 04/11] qemu_flush_work for remote vcpu execution, Avi Kivity, 2009/12/03
- [Qemu-devel] Re: [PATCH 04/11] qemu_flush_work for remote vcpu execution, Paolo Bonzini, 2009/12/03
- Re: [Qemu-devel] Re: [PATCH 04/11] qemu_flush_work for remote vcpu execution, Glauber Costa, 2009/12/03