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

Re: [Xen-users] About special functions provided by xen


  • To: "张琳" <zhanglin_nk@xxxxxxx>
  • From: weiming <zephyr.zhao@xxxxxxxxx>
  • Date: Sun, 9 Mar 2008 20:08:59 -0500
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sun, 09 Mar 2008 18:09:39 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=rVPA7kLIwC+5TmayKusEUSISAripDotmGhDmFaElJYX645XQTotG34KonFggPY4fbO5kXB8Bgww2tOgxmRANBFdS7eqI6/neITz1CjH+7WXq1cTB3fJwnH3TXRhp6Od2HrUnuvTi2Z34+2O5uaQIrzSV7tDXvQ7bEfcuiaHy7PI=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

xc_vcpu_getcontext() is defined in tools/libxc/xc_domain.c

If you build xen from source, i"xen/include/public/" is in your source directory.
If you install xen from existing binary packages, try to find if there is any -devel package.

you may include the corresponding .h file and then link with -lxenctrl (maybe I'm wrong. not very sure)

2008/3/9 张琳 <zhanglin_nk@xxxxxxx>:
Hello~~~~

I have to use some special functions provided by xen,
such as xc_vcpu_getcontext(),xc_map_foreign_range() and so on.

I tried to find them in the Xen Interface Manuel, but failed. Does anyone know where they are?

And another problem:
In the Xen Interface Manuel(Appendix A), "xen/include/public/" has been mentioned many times.But I havn't found such a directory in my computer.
I installed xen VMM when I installed the Fedora 8.I wonder to know that if I don't have those files provided by xen in my computer, what should I do?

Thanks~~~~

yours:Lin






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

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

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

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

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

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

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

 


Rackspace

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