Subject: Re: Detect if domain0 is running?
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Quentin Garnier <cube@cubidou.net>
List: port-xen
Date: 04/08/2005 15:26:15
--8NvZYKFJsRX2Djef
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Fri, Apr 08, 2005 at 03:46:52PM +0300, Martti Kuparinen wrote:
> Is there any way to detect if dom0 is running instead of a normal
> i386 kernel? Maybe a sysctl or procfs file?
stat /kern/xen
KERNFS in /kern is required to run xend anyway.
--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.
--8NvZYKFJsRX2Djef
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)
iQEVAwUBQlaGd9goQloHrPnoAQKAQggAx7bO4+yzMEsyNCiaMrjyTqb7hz38yZtG
EuVG4i2ON7OgI8+VnF+ThMsWP2lnbqa6X0odYUiOQ7pVxjJJcwkBp3XNXAGKM6Zc
s4D7OZ3WXiH+QLXH+lExHmif4vWEDmJyAhO8B23Geq2yWwdfLqJxMSCp+YnSb7tN
nD8gTk9kP0Lv4LKuACO9/0d2x3aJOodFj/2xZiWc32/6BLfLZeOdF0jNC8UR/gNg
FwA6evyIXBziiYyLof/2jHcHL1SiZt9pZNZ8gduTtMvKVKpWz6aQuU/9Gl83R0MG
v0ixGHAoS3htGNA7RsUc4sHR8lOEOGGeHAwv8pQckGFGifkdwio/4w==
=IjnL
-----END PGP SIGNATURE-----
--8NvZYKFJsRX2Djef--