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

Re: [Xen-devel] [ Help! ] how is ctx->xch in xen/tools/libxl/xl_cmdimpl.c initialized?

Please don't top-post.

On Tue, Apr 16, 2013 at 04:17:46PM +0100, Li Yechen wrote:
> Thank you very much!
> I find the function pointer point to :
> .u.privcmd.hypercall = &linux_privcmd_hypercall      on Line 423
> but this function:linux_privcmd_hypercall() in 
> xen4.2.1/tools/libxc/xc_linux_osdep.c, Line 113
> goes to a python script:
> xen4.2.1/tools/python/xen/util/SSHTransport.py, Line 26
> then it seems to call a function name lwip_ioctl:
> > return lwip_ioctl(files[fd],socket.fd, FIONBIO, &nblock);
> this function does not belong to xen

It looks like your indexing utility screwed you. That's not a funciton,
is a structure defined in the same file. That structure contains a bunch
of function pointers.


> I just want to find out how xl comnand works, does it actually call this 
> function?
> The code of Xen of this part have no any commons..It's too hard to understand.
> Help me please Orz

Xen-devel mailing list



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