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

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



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

An existing hypercall, viz #36, do_domctl, provides several commands to access 
guest domains.
For example, XEN_DOMCTL_getmemlist and XEN_DOMCTL_max_mem. Thought I would add 
another to
copy the htab, XEN_DOMCTL_gethtab. So I think no modification is needed to 
hcall.c

The problem is hcall_xen() never sees the do_domctl hypercall when it includes 
the new command...
On the tools side, do_xen_hypercall() receives the do_domctl, calls 
do_privcmd() which calls ioctl().

Looks like the tools is issuing the hypercall, but xen does not receive it...
The tools application does receive the ENOSYS error, but cannot see where it is 
generated.


_______________________________________________
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®.