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

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
315 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
315 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



===============================================
快来和我一起享受TOM免费邮箱吧! 看看除了1.5G,还有什么?

看看女人都在聊什么? 美图尽赏 聊天世界

明星金曲免费送(http://mm.tom.com/ivr/)周杰伦 林俊杰 庞龙 张惠妹

劲爆歌曲尽情点(http://mm.tom.com/ivr/)霍元甲 吉祥三宝 人质 曹操

炫酷彩铃免费送(http://mm.tom.com/cailing/)周杰伦帮你接电话 麻烦女朋友 七里香 小城故事
===============================================

 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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