Source-Changes-D archive

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

Re: CVS commit: src/sys/arch/xen/xen



On Sat, Feb 01, 2014 at 05:48:04PM +0000, David Laight wrote:
> Module Name:  src
> Committed By: dsl
> Date:         Sat Feb  1 17:48:04 UTC 2014
> 
> Modified Files:
>       src/sys/arch/xen/xen: hypervisor.c
> 
> Log Message:
> Add a direct call to fpuinit().
> I'm not sure this is architecturally the best place, but I think it
>   is where npxattach() used to get called.
> Might fix FP support in domu

Actually this broke it:
xencons0 at hypervisor0: Xen Virtual Console Driver
panic: XXX lcr0 not supported

fpuinit() should *not* be called for Xen (and it was not before).
This is handled by the hypervisor.

I didn't notice i386_fpu_present was set to 1 in fpuinit() (I don't know
how I missed it), so setting i386_fpu_present to 1 unconditionally for
Xen is probably the right thing to do.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index