Hello:
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.
With best regards, libing.
5 Sep 2010
|