HOWTO: xen tools within FreeBSD domU
Nick Sayer
nsayer at kfu.com
Mon Jan 31 00:00:15 UTC 2011
The web page previously referenced says in part:
> Usage
> -----
>
> Set required environment variable:
>
> export XENSTORED_PATH=/dev/xen/xenstore
>
> (Alternatively you could patch tools/xenstore/xs_lib.c function
> xs_domain_dev() before compiling.)
>
>
A patch to do this is:
--- xs_lib.c.orig 2011-01-30 15:56:52.985324929 -0800
+++ xs_lib.c 2011-01-30 15:55:14.024346135 -0800
@@ -84,6 +84,8 @@
return "/proc/xen/xenbus";
#elif defined(__NetBSD__)
return "/kern/xen/xenbus";
+#elif defined(__FreeBSD__)
+ return "/dev/xen/xenstore";
#else
return "/dev/xen/xenbus";
#endif
If no one else is working on it, I might take a cut at a xen-domU-tools port that does what that page lists.
More information about the freebsd-xen
mailing list