On Fri, Oct 04, 2013 at 05:05:10PM +0100, Patrick Welche wrote: > On Fri, Oct 04, 2013 at 04:32:47PM +0200, Manuel Bouyer wrote: > > On Fri, Oct 04, 2013 at 12:50:16PM +0100, Patrick Welche wrote: > > > I might add some projects encountered during this morning's work: > > > - add HVM support to xen 4 (Maybe part of "Support latest features of > > > Xen") > > > > hvm works with xen 4 and NetBSD dom0. I have several domUs running on Xen > > 4.1.x (including 2 windows domUs) > > Sorry: I see in the xen howto "the HVM support (for later versions > this is included in sysutils/xentools)." > > I had my first attempt at an HVM and failed. In order to try to test > glib2/patch-ba myself, I tried to make a dragonfly domu: > > builder = "hvm" > name = "dfly" > vcpus = 1 > memory = 512 > disk = ['phy:/dev/mapper/vg0-dfly,hda,w', > 'file:/store/iso/dfly-x86_64-3.4.3_REL.iso,cd0,r'] > vif = ['mac=00:1e:8c:5e:52:c8,bridge=bridge0'] > boot="d" > > but: > > # xl create -c dfly.cfg > Parsing config from dfly.cfg > libxl: error: libxl_create.c:437:libxl__domain_make: domain creation fail > libxl: error: libxl_create.c:663:initiate_domain_create: cannot make domain: > -3 > libxl: error: libxl.c:1377:libxl__destroy_domid: non-existant domain -1 > libxl: error: libxl.c:1341:domain_destroy_callback: unable to destroy guest > with domid 4294967295 > libxl: error: libxl_create.c:1171:domcreate_destruction_cb: unable to destroy > domain 4294967295 following failed creation >
4294967295 == 0xffffffff == -1. Do you have enough free ram for this domU ? What Xen version is it ? xl is known to not work with Xen 4.1. I think I had it working with 4.2 on a test system ... -- Manuel Bouyer <bou...@antioche.eu.org> NetBSD: 26 ans d'experience feront toujours la difference --