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

Re: [Xen-devel] [BUG] Qemu crash on xl create with memory allocation error (probably xl not consider all videoram for initial memory check)



On Fri, Oct 10, 2014 at 03:18:54PM +0200, Fabio Fantoni wrote:
> On dom0 with xen from git 4.4-stable I found unexpected case about memory
> check on xl create.
> If I try to start domU with 2 gb of ram but only 1840384k free (from xentop)
> xl give me the correct error:
> >xl create /etc/xen/W7-04.cfg
> >Parsing config from /etc/xen/W7-04.cfg
> >libxl: notice: libxl_numa.c:494:libxl__get_numa_candidate: NUMA placement
> >failed, performance might be affected
> >xc: error: Could not allocate memory for HVM guest as we cannot claim
> >memory! (12 = Cannot allocate memory): Internal error
> >libxl: error: libxl_dom.c:651:libxl__build_hvm: hvm building failed
> >libxl: error: libxl_create.c:1067:domcreate_rebuild_done: cannot
> >(re-)build domain: -3
> >libxl: error: libxl_dm.c:1486:kill_device_model: unable to find device
> >model pid in /local/domain/30/image/device-model-pid
> >libxl: error: libxl.c:1421:libxl__destroy_domid:
> >libxl__destroy_device_model failed for 30
> 

Can't say much about QEMU, but isn't this failure expected? You had <2G
free RAM but the guest asked for 2G.

Wei.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.