WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: ywzheng <ywzheng@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xen trouble while guest excute float app
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Mon, 6 Sep 2010 12:07:12 +0300
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 06 Sep 2010 02:08:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <201009060951425274927@xxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <201009060951425274927@xxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
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