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

> 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

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