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?



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

Reply via email to