[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] xc_vcpu_setcontext problem with translated shadow pagetable domains


  • To: "Tim Wood" <twwood@xxxxxxxxx>, "Xen Devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
  • Date: Tue, 21 Nov 2006 00:24:05 -0000
  • Delivery-date: Mon, 20 Nov 2006 16:24:48 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AccNAVUz1CNzW+FjQ+KP7FIqNuo8tQAAZqEg
  • Thread-topic: [Xen-devel] xc_vcpu_setcontext problem with translated shadow pagetable domains

> 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?

Are you getting the restore domain into the right shadow pagetable mode?


Otherwise things like the pagetable base will be invalid (you don't need
to canonical-ize it on save as its already in gpfn form).

Ian



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.