|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] How to use the functions provided by xen?
I think only
header file is not enough.
There are two
libs: libxenctrl.so.3.0.0 and libxenguest.so.3.0.0 produced by xc_xxxx
files. You should link them to your application if you invoked xc_xxxxx funcs.
These libs
located at /usr/lib of dom0.
Good good study,day day up ! ^_^
-Wing(zhang xin)
OTC,Intel Corporation
From:
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx]
On Behalf Of Han, Weidong
Sent: 2008年3月15日 17:50
To: 张琳;
xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] How to
use the functions provided by xen?
They are declared in tools/libxc/xenctrl.h.
In fact, these functions are called in many places. You can search them in
source code for reference.
Randy (Weidong)
From:
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 张琳
Sent: 2008年3月15日 8:59
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] How to use
the functions provided by xen?
Hello~~~
I need to use some functions provided by xen, such as xc_vcpu_getcontext(),
xc_map_foreign_ranger() and so on. I have find them in the
/libxc/xc_domain.c~~~
But I don't know how to use them in my program.
For example, if I need to use the function named printf(), I have to include
the header file <stdio.h>~~~
Now, I want to use these functions provided by xen, which header files do I
need to include?
Good luck!
yours:Lin
|
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|