qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: POLL: Why do you use kqemu?


From: Jan Kiszka
Subject: [Qemu-devel] Re: POLL: Why do you use kqemu?
Date: Mon, 08 Jun 2009 14:44:19 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

Avi Kivity wrote:
> Jamie Lokier wrote:
>> Is there a reason to duplicate QEMU's task switch emulation, instead
>> of trapping out to QEMU?  Modern OSes don't use x86 task switching
>> (because it's slow on real CPUs) except for ring stack switches, so
>> it's hardly a performance requirement.  Accurate task switch support
>> is fiddly to get right.  Think of all the exceptions including
>> paging/segment exceptions in the middle of reading the TSS block.
>>   
> 
> kvm is designed to be useful without full emulation in userspace.
> 

And the fact that kqemu has to use tcg in order to achieve a reasonable
performance is rather a disadvantage. The complexity and overhead for
synchronizing tcg with the in-kernel accelerator is enormous. If there
were a feasible way to overcome this with kqemu, it would benefit a lot.
But unfortunately there is none (given you don't want to invest
reasonable efforts).

Jan

-- 
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux




reply via email to

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