[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [ Help! ] how is ctx->xch in xen/tools/libxl/xl_cmdimpl.c initialized?
I try to trap the xl command:Âmain_memset() in tools/libxl/xl.h
and it goes toÂdo_xen_hypercall(xch, *hypercall) on line 246, xen4.1.2/tools/libxc/xc_private.c this function then call:Âxch->ops->u.privcmd.hypercall() which is a function pointer the xch is a member of global varible: libxl_ctx *ctx, which is in line66ï tools/libxl/xl_cmdimpl.c
then I can't find where the function pointer goes to, nor does the place where this function pointer is initialized. Any one is familiar with this variable? Help me please! Thank you very much!
Yechen Li
Team of System Virtualization and Cloud Computing School of Electronic Engineering and Computer Science, Peking University, China Nothing is impossible because impossible itself Âsays: " I'm possible " lccycc From PKU
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |