Subject: Detect if domain0 is running?
To: None <port-xen@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: port-xen
Date: 04/08/2005 15:46:52
Is there any way to detect if dom0 is running instead of a normal
i386 kernel? Maybe a sysctl or procfs file?

It would be nice to have a check in /etc/rc.d/xend so that it can
ignore start and stop commands if a normal kernel is running so
that there would be no irritating errors on the console when the
system boots to normal NetBSD...

Martti