qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] About the Thread model in Qemu 【 Is it one thread per v


From: 解壁伟
Subject: Re: [Qemu-devel] About the Thread model in Qemu 【 Is it one thread per vcpu?】
Date: Wed, 13 Mar 2013 16:59:42 +0800
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130307 Thunderbird/17.0.4

Thank you very much.

I've find the generation of thread in qemu, following your advice.

qemu_init_vcpu() --> qemu_kvm_start_vcpu() [cpus.c]

puck

于 2013/3/13 6:26, Laszlo Ersek 写道:
> On 03/12/13 10:34, 解壁伟 wrote:
>> Hi there:
>>
>> I've read this an article discribe the thread model in Qemu.
>> http://blog.vmsplice.net/2011/03/qemu-internals-overall-architecture-and.html
>> Is there really one thread per vcpu in qemu?
>>
>> When I run the qemu using "-smp 16", I can see only two threads using
>> "ps -xH".
> What ps is that? I'd try ps -efL.
>
>> So I want to know that if qemu excuting the vcpu in one thread per vcpu way?
>>
>> or, qemu simply excuting all the vcpus in one thread?
>>
>> How can I trace the generation of the vcpu thread?
> qemu_init_vcpu() --> qemu_kvm_start_vcpu() [cpus.c]
>
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]