On Wed, Feb 08, 2012 at 09:40:08PM -0500, Xin Tong wrote:
> can you show me where these threads get created in the qemu code ?
If you mean vcpu thread, see cpu_x86_init (target-i386/helper.c).
At the end of this function,
CPUX86State *cpu_x86_init(const char *cpu_model)
{
qemu_init_vcpu(en
On 02/09/2012 03:40 AM, Xin Tong wrote:
can you show me where these threads get created in the qemu code ?
It's in posix-aio-compat.c. The code is invoked by block/raw-posix.c.
Paolo
can you show me where these threads get created in the qemu code ?
Thanks
Xin
On Tue, Feb 7, 2012 at 5:25 AM, Stefan Hajnoczi wrote:
> 2012/2/7 陳韋任 :
>> Hi Stefan,
>>
>> Thanks for the explanation. :)
>>
>>> > Qemu 1.0 enable IO thread by default, I think that's why you can see
>>> > ther
Hi Stefan,
Thanks for the explanation. :)
> > Qemu 1.0 enable IO thread by default, I think that's why you can see
> > there are
> > two threads. You can check block/raw-posix-aio.h, posix-aio-compat.c and
> > linux-aio.c.
>
> --enable-io-thread is different from posix-aio-compat.c's threa
2012/2/7 陳韋任 :
> Hi Stefan,
>
> Thanks for the explanation. :)
>
>> > Qemu 1.0 enable IO thread by default, I think that's why you can see
>> > there are
>> > two threads. You can check block/raw-posix-aio.h, posix-aio-compat.c and
>> > linux-aio.c.
>>
>> --enable-io-thread is different from p
On Mon, Jan 30, 2012 at 05:52:48PM +0800, 陳韋任 wrote:
> > On Thu, Jan 26, 2012 at 1:35 PM, Paolo Bonzini wrote:
> > > On 01/26/2012 07:31 PM, Xin Tong wrote:
> > >>
> > >> When i attach gdb to qemu running in system mode, i often get things like
> > >>
> > >> [Thread 0x7ffed2013700 (LWP 29499) exit
> On Thu, Jan 26, 2012 at 1:35 PM, Paolo Bonzini wrote:
> > On 01/26/2012 07:31 PM, Xin Tong wrote:
> >>
> >> When i attach gdb to qemu running in system mode, i often get things like
> >>
> >> [Thread 0x7ffed2013700 (LWP 29499) exited]
> >> [New Thread 0x7ffed2013700 (LWP 29500)]
> >>
> >> what s
what is that, can you please briefly explain ?
Thanks
Xin
On Thu, Jan 26, 2012 at 1:35 PM, Paolo Bonzini wrote:
> On 01/26/2012 07:31 PM, Xin Tong wrote:
>>
>> When i attach gdb to qemu running in system mode, i often get things like
>>
>> [Thread 0x7ffed2013700 (LWP 29499) exited]
>> [New Thr
On 01/26/2012 07:31 PM, Xin Tong wrote:
When i attach gdb to qemu running in system mode, i often get things like
[Thread 0x7ffed2013700 (LWP 29499) exited]
[New Thread 0x7ffed2013700 (LWP 29500)]
what spawns these threads and what do these threads do ?
The block layer's thread pool.
Paolo
When i attach gdb to qemu running in system mode, i often get things like
[Thread 0x7ffed2013700 (LWP 29499) exited]
[New Thread 0x7ffed2013700 (LWP 29500)]
what spawns these threads and what do these threads do ?
10 matches
Mail list logo