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

Re: [Xen-devel] xen trouble while guest excute float app



On Mon, Sep 06, 2010 at 09:51:42AM +0800, ywzheng wrote:
>    I have a trouble with floating point number when I use xen. First I work
>    on openSUSE 11.3, with xen-4.0.0_21091_05-6.6.x86_64. I create a windows
>    XP domU, and make a simple program dealing with floating point number by
>    Visual C++ 6. The program is:
> 
>    void BUG()
> 
>    {
> 
>      while(1);
> 
>    }
> 
>    func()
> 
>    {
> 
>      float f = 1;
> 
> 
> 
>      while(1)
> 
>      {
> 
>        TRACE("f = %f\n", f);
> 
>        if(f < 0)
> 
>          BUG();
> 
>        Sleep(1000);
> 
>      }
> 
>    }
> 
> 
> 
>    When I use "xm migrate -live win1 hosta", (hosta is the same computer),
>    sometime print f = -1.#IND0, sometime goto BUG(). Why()?
> 
> 
> 
>    Then I use xen-4.0.1-rc6, the same thing happen. Is this a BUG of xen?
> 
>    My CPU is Intel Xeon L5408.When I use other CPU, for example Xeon L5420,I
>    rarely meet the problem.
> 
> 

Hello,

Interesting problem..

Did you try just save/restore of the VM? Does it show the same issue?
Or is it only during live migration? 

-- Pasi


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.