From: "Tim Wood" Subject: xc_vcpu_setcontext problem with translated shadow page table domains Date: Mon, 20 Nov 2006 19:08:32 -0500 Message-ID: <9c92ada10611201608k5fed5040h669b361e8844f808@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen Devel List-Id: xen-devel@lists.xenproject.org Hi, I'm working on save/restore for (non hvm) domains with the auto_translated_physmap feature enabled. I've based my code roughly off of a patch to provide save/restore support for HVM domains, but I'm running into problems when I try to restore a domain. My call to xc_vcpu_setcontext() is failing during restoration -- is there anything unusual about context structs for these types of domains? In my save function I write to disk the value returned from xc_vcpu_getcontext(), which I then read back in during my restore function and pass to xc_vcpu_setcontext(). Can someone think of a reason why this would fail? thanks for any ideas, -Tim