WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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 
information?

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. :)

Brian

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.

Ian



-------------------------------------------------------
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
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel