Skip to contentSkip to conversation

Who's the author of libxc? I don't know howto start with it

help ¤終於aware 2 participants 2 messages Jan 2, 2012

lore
Share & tools
lore
#0 lore raw

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"<[email protected]>;
发送时间: 2012年1月1日(星期天) 晚上8:09
收件人: "¤?K於aware"<[email protected]>;
抄送: "wei.liu2"<[email protected]>; "xen-devel"<[email protected]>; 主题: Re: [Xen-devel] [help] Who's the author of libxc? I don't know howto start with it

Quoted 5 lines · ¤?K於aware

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
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

Please don't top-posting.

And I strongly recommend you use Gmail (or other proper mail clients), because QQmail messes up threads.

Quoted 3 lines · ¤終於aware

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.

Quoted 2 lines

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
[email protected]
http://lists.xensource.com/xen-devel