Subject: Re: Improved xendomains script
To: None <port-xen@NetBSD.org>
From: Jed Davis <jdev@panix.com>
List: port-xen
Date: 10/17/2005 23:55:30
Hubert Feyrer <feyrer@cs.stevens.edu> writes:

> Does the script worh with the C xentools, too (pkgsrc-sip/something, I
> forgot the name)? Maybe put your scripts into a seperate package?

"vm-tools"; http://www.cs.utexas.edu/users/aliguori/vm-tools/.  I
tried building the latest a couple months ago, wound up with a bunch
of trivial changes (some missing #includes, some #ifdef __NetBSD__)
that I never got around to sending back, as I gave up when I wasn't
able to create a domain.  It was only after that that I remembered
about pkgsrc-wip, and I actually haven't tried that version.

The thing about vm-tools is that they don't have an equivalent of "xm
create"; they expose the lower-level operations (create, add memory,
load initial image, attach vbd, attach vif, unpause; IIRC) that some
higher-level management thing -- which could just be a simple shell
script -- is expected to build on.

-- 
(let ((C call-with-current-continuation)) (apply (lambda (x y) (x y)) (map
((lambda (r) ((C C) (lambda (s) (r (lambda l (apply (s s) l))))))  (lambda
(f) (lambda (l) (if (null? l) C (lambda (k) (display (car l)) ((f (cdr l))
(C k)))))))    '((#\J #\d #\D #\v #\s) (#\e #\space #\a #\i #\newline)))))