qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Main loop


From: Glauber Costa
Subject: Re: [Qemu-devel] Main loop
Date: Mon, 28 Sep 2009 18:21:24 -0300
User-agent: Jack Bauer

On Mon, Sep 28, 2009 at 02:35:24PM -0500, Anthony Liguori wrote:
> malc wrote:
>> Now that we have talked i see the problem and it basically boils down
>> to this: kvm can(and does) run multiple vcpus in multiple threads,
>> qemu always uses one, on top of this you are mainly interested in KVM
>> and i'm _only_ interested in TCG.
>
> The multiple vcpus in multiple threads model is the right one for TCG  
> too.  Both Paul and Fabrice have expressed interest in this in the past.  
> For certain architecture combinations, it may not be that bad to  
> implement either.
>
>>  The way i see it the best approach
>> would be to factor out main loop into separate file and let QEMU and
>> KVM go their own separate ways w.r.t. this new entity.
>>   
> OTOH, if most of the heavy lifting (like IO dispatch) can be refactored  
> to shared functions, two main loops may not be so bad.
I am not opposed to it either.





reply via email to

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