Subject: Re: domU without network interfaces?
To: Johnny C. Lam <jlam@pkgsrc.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 10/12/2005 19:55:04
On Wed, Oct 12, 2005 at 01:02:41PM -0400, Johnny C. Lam wrote:
> Is it possible to create a guest domain without any network interfaces,
> e.g. set nics = 0 in the domain config file? When I tried this and
> booted with the netbsd-INSTALL_XENU kernel, the boot hung after finding
> the disk devices.
It should work if you build a kernel without xennet devices.
Because of the way Xen works, network and block devices are created after
the kernel is started, so we have to wait for them to show up to make sure
that the system will start properly. Currently the code waits for one
block device and one network device.
Maybe adding a timeout would help, but I'm not sure we can use callout at this
point of the kernel autoconfig.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--