Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Detect if domain0 is running?



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.

-- 
Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost
"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.

Attachment: pgpd2MM0rCiny.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index