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

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

To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] xen trouble while guest excute float app
From: "ywzheng" <ywzheng@xxxxxxxxxxxxxxxx>
Date: Mon, 6 Sep 2010 09:51:42 +0800
Delivery-date: Sun, 05 Sep 2010 18:52:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

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.

 
2010-09-06

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