¤終於aware
2012-Jan-02 10:24 UTC
回复: [help] Who's the author of libxc? I don't know howto start with it
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.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Wei Liu
2012-Jan-02 16:25 UTC
Re: 回复: [help] Who's the author of libxc? I don't know howto start with it
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