From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: xen trouble while guest excute float app Date: Mon, 6 Sep 2010 12:07:12 +0300 Message-ID: <20100906090712.GY2804@reaktio.net> References: <201009060951425274927@celluonchina.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <201009060951425274927@celluonchina.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: ywzheng Cc: xen-devel List-Id: xen-devel@lists.xenproject.org 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