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