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

Re: [Xen-devel] Using the C library

What was the reasoning behoind going to a userland daemon in Domain-0 to handle 
tracking of resources? I'm not terribly familiar with the logic behind this 
method other than instabilities int he daemon keeps you from crashing the 
kernel. But if you crash the userland daemon, how do you recover the lost 

Another question I had was, why python (I don't intend to start a flamewar of 
lang-x vs lang-y). Most system level tools that I have seen in the last 14 
years of using unix were written in C.

Just curious is all for now. :)


On Fri, 18 Jun 2004 23:40:59 +0100
 Ian Pratt <Ian.Pratt@xxxxxxxxxxxx> said...

> I want to start a domain from my C program. But it's not very clear how to do 
> so.

I wouldn't advise going down this route: In the xeno-unstable
(forthcoming 2.0) your program will need to talk to 'xend' rather
than invoking operations on Xen directly. This is necessary since
in the new IO model Xen no longer knows about the state of IO
devices etc; information about the state of the whole machine
is now held in xend.

Xend provides a http interface to enable other programs to issue
requests to it. You can see example invocations by looking at the
new 'xm' tool.

We anticipate that only xend will use the C libary interface to Xen.


This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
Xen-devel mailing list



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