Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jan 2011 16:00:05 -0800
From:      Nick Sayer <nsayer@kfu.com>
To:        freebsd-xen@freebsd.org
Subject:   Re: HOWTO: xen tools within FreeBSD domU
Message-ID:  <034C454F-CE2B-4310-BD09-2A9989E544E9@kfu.com>
In-Reply-To: <F57CE724-0FC9-4914-8BE1-2CEEF424C47D@kfu.com>
References:  <alpine.BSF.2.00.1101301111350.20212@tiktik.epipe.com> <alpine.BSF.2.00.1101301413520.20212@tiktik.epipe.com> <F57CE724-0FC9-4914-8BE1-2CEEF424C47D@kfu.com>

next in thread | previous in thread | raw e-mail | index | archive | help
The web page previously referenced says in part:

> Usage
> -----
>=20
> Set required environment variable:
>=20
>   export XENSTORED_PATH=3D/dev/xen/xenstore
>=20
> (Alternatively you could patch tools/xenstore/xs_lib.c function
> xs_domain_dev() before compiling.)
>=20
>=20

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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?034C454F-CE2B-4310-BD09-2A9989E544E9>