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

[Xen-devel] HVM guest max memory allocation



Hi, 

When creating HVM guest(no balloon driver), what's the max memory we could set? 
We can get the current system free memory by "xl info", but when configure the 
free memory to a HVM guest, it fail to boot up. Does Xen allocate additional 
memory when do VM creating? How many the additional memory burning per HVM by 
Xen?

==============================
# xl cr xlexample_win.hvm 
Parsing config from xlexample_win.hvm
libxl: notice: libxl_numa.c:499: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:979:libxl__build_hvm: hvm building failed
libxl: error: libxl_create.c:1163:domcreate_rebuild_done: cannot (re-)build 
domain: -3
libxl: error: libxl_dm.c:1667:kill_device_model: unable to find device model 
pid in /local/domain/236/image/device-model-pid
libxl: error: libxl.c:1620:libxl__destroy_domid: libxl__destroy_device_model 
failed for 236


==============================
# xl info
...
free_memory            : 28036
...

==============================
xlexample_win.hvm configure file:
builder = "hvm"
name = "win8"
memory = 28036
vcpus=2
vif = [ 'type=ioemu, mac=00:15:17:19:2D:35, bridge=xenbr0' ]
disk = [ '/root/longtao/win8.qcow,qcow2,xvda,rw']
device_model_override = '/usr/local/lib/xen/bin/qemu-system-i386'
device_model_version = 'qemu-xen'
sdl=0
vnc=1
stdvga=1
hap=1
usb=1
usbdevice='tablet'
hpet=1


Best Regards,
Xudong



_______________________________________________
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®.