WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

Re: [XenPPC] xm save: adding couple domctl operations to access htab

On Sat, Sep 30, 2006 at 05:29:40PM -0400, poff wrote:
> When saving a domain, its htab must be copied, real page numbers replaced 
> with physical,
> then written to disk. To copy the htab, I've tried for many hours to add a 
> domctl operation,
> #define XEN_DOMCTL_gethtab  29, using code and structures similar to 
> XEN_DOMCTL_getmemlist.
> 
> This new command makes it through do_xen_hypercall(), however, always get 
> ENOSYS returned...
> On the Xen side, hcall_xen() I print all the command numbers for do_domctl 
> ops, but this
> new command never arrives. Of course, have added a 'case XEN_DOMCTL_gethtab' 
> in domctl.c,
> and also printk before ENOSYS, but this code is never run.
> 
> 1) Is this a reasonable approach to copying the htab?
> 
> 2) Any clues?

I don't know if I'm off base but have you added appropriate code to 
linux? specifically arch/powerpc/platforms/xen/hcall.c ?

Yours Tony

   linux.conf.au       http://linux.conf.au/ || http://lca2007.linux.org.au/
   Jan 15-20 2007      The Australian Linux Technical Conference!


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

<Prev in Thread] Current Thread [Next in Thread>