seems I finally found what upset kqemu on amd64 SMP... shared gdt! (please test patch :)

Juergen Lock nox at jelal.kn-bremen.de
Sun May 11 11:03:38 UTC 2008


On Sat, May 10, 2008 at 11:00:39PM +0200, Teufel wrote:
> 
>>  Okay I _think_ I know a little more about this now...  kqemu itself
>> doesn't use the fpu, but the guest code it runs can, and in that case the
>> DNA trap is just used for (host) lazy fpu context switching like as if the
>> code was running in userland regularly.  And I just tested the following
>> patch that should get rid of the message by calling fpudna/npxdna directly
>> (files/patch-fpucontext is the interesting part:)
> Applied the patch today and I can confirm, there are no more dna messages 
> as expected. A win2k3 guest runs now couple of hours with some stress test 
> and the kernel is still fine. I think this patch solves the broken kqemu on 
> amd64. Great work.

Thanx! :)

 And I just committed the update.
	Juergen


More information about the freebsd-emulation mailing list