From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Deegan Subject: Re: xm save + restore crashes Windows 2008 32-bit (4.0.2-rc2-pre) Date: Tue, 25 Jan 2011 10:53:13 +0000 Message-ID: <20110125105313.GC13241@whitby.uk.xensource.com> References: <20110125092440.GA13241@whitby.uk.xensource.com> <20110125103938.GB13241@whitby.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: James Harper Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org At 10:43 +0000 on 25 Jan (1295952215), James Harper wrote: > > > I should know if the problem exists on intel very soon. I'm guessing > not > > > or I wouldn't be the first one posting about it... either that or > there > > > is something else going on. > > > > It was on AMD that I saw it too. If I read them correctly, Ian's > > regression tests are passing HVM save/restore for at least some > Windows > > versions on AMD too, so it may be very specific. > > > > Definitely AMD specific. Works fine on my Intel system. > > I'm guessing it's missing the save and/or restore of some critical part > of the CPU state for the domain that causes an immediate crash when > return to user mode. Any suggestions as to where to start looking? I'm trying to set it up here as well but I'm away from the office and getting the VGA console as far as my screen is proving tricky. Can you try: - xl pause - xen-hvmctx >before - xl save save-file - xl restore -p save-file - xl list - xen-hvmctx >after - diff -u before after There should be a few differences to do with timers and TSCs but there might be some other smoking gun. Of course it's possible that some piece of state got added that didn't get into the save/restore code at all. It's also possible that some vital piece of memory isn't getting saved properly but that's less likely to be AMD-specific. Cheers, Tim. -- Tim Deegan Principal Software Engineer, Xen Platform Team Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)