* 回复: [help] Who's the author of libxc? I don't know howto start with it
@ 2012-01-02 10:24 ¤終於aware
2012-01-02 16:25 ` Wei Liu
0 siblings, 1 reply; 2+ messages in thread
From: ¤終於aware @ 2012-01-02 10:24 UTC (permalink / raw)
To: Wei Liu; +Cc: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 1178 bytes --]
Thanks.
I have already previewed the xenctrl.h.
The following is what I understand: libxc is compiled to a file name after 'xc**' endding with '.so', xend communicates with domain0 through xc and domain0 communicates with hypervisor through privcmd.
What's the privcmd?
------------------ 原始邮件 ------------------
发件人: "Wei Liu"<wei.liu2@citrix.com>;
发送时间: 2012年1月1日(星期天) 晚上8:09
收件人: "¤?K於aware"<250716708@qq.com>;
抄送: "wei.liu2"<wei.liu2@citrix.com>; "xen-devel"<xen-devel@lists.xensource.com>;
主题: Re: [Xen-devel] [help] Who's the author of libxc? I don't know howto start with it
On Sat, 2011-12-31 at 11:58 +0000, ¤?K於aware wrote:
> Hi,
> I wanna try my best to understand the libxc in xentools, but it's
> difficult for me, a newer,to comprehend it's principle!
> Begging advice,thanks a lot ahead!
>
libxc acts as intermediate between userspace and hypervisor. I think you
can first take a look at its exported header file -- xenctrl.h , so that
you can have a rough idea about its functionalities. The you can pick
whatever functionality you are interested in and dig deeper.
Wei.
[-- Attachment #1.2: Type: text/html, Size: 1799 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 回复: [help] Who's the author of libxc? I don't know howto start with it
2012-01-02 10:24 回复: [help] Who's the author of libxc? I don't know howto start with it ¤終於aware
@ 2012-01-02 16:25 ` Wei Liu
0 siblings, 0 replies; 2+ messages in thread
From: Wei Liu @ 2012-01-02 16:25 UTC (permalink / raw)
To: ¤終於aware; +Cc: xen-devel
Please don't top-posting.
And I strongly recommend you use Gmail (or other proper mail clients),
because QQmail messes up threads.
On Mon, Jan 02, 2012 at 10:24:07AM +0000, ¤終於aware wrote:
> Thanks.
> I have already previewed the xenctrl.h.
> The following is what I understand: libxc is compiled to a file name after 'xc**' endding with '.so', xend communicates with domain0 through xc and domain0 communicates with hypervisor through privcmd.
libxc is not a standalone program you can call. xend has a python
module to expose libxc functionalities to python.
If you are using newer xen, you probably want to change to xl
toolstack.
> What's the privcmd?
>
It is short for "privileged command" I think. It is the entry point to
kernel space when you want to issue a hypercall.
Wei.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-02 16:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-02 10:24 回复: [help] Who's the author of libxc? I don't know howto start with it ¤終於aware
2012-01-02 16:25 ` Wei Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).