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

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



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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel


 


Rackspace

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