|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] xc_vcpu_setcontext problem with translated shadow pageta
On 11/20/06, Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx> wrote:
> 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?
Are you getting the restore domain into the right shadow pagetable mode?
I can see that when I restore the domain it is aware that the
"auto_translated_physmap" feature is being used, so I am assuming that
will result in the selection of the correct shadow page table mode.
I'll try to look and see whether that is actually happening.
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
Right -- I'm just copying the page table/memory contents directly
without canonicalizing (a nice benefit of using shadows!).
Thanks
- Tim
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|