|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] xl mem-max error
Hi,
I get this error:
# xl mem-max 3 700
libxl: error: libxl.c:4549:libxl_domain_setmaxmem: memory_static_max must
be greater than or or equal to memory_dynamic_max
: Success
cannot set domid 3 static max memory to : 700
# xenstore-ls -f
...
/local/domain/3/memory = ""
/local/domain/3/memory/static-max = "716800"
/local/domain/3/memory/target = "716801"
/local/domain/3/memory/videoram = "-1"
# xl list -l 3
[
{
"domid": 3,
"config": {
"c_info": {
"type": "pv",
"name": "0004fb0000060000834f0ecf044b2219",
"uuid": "0004fb00-0006-0000-834f-0ecf044b2219",
"run_hotplug_scripts": "True"
},
"b_info": {
"max_vcpus": 32,
"avail_vcpus": [
0,
1
],
"max_memkb": 716800,
"target_memkb": 716800,
"shadow_memkb": 38368,
"sched_params": {
"weight": 55000
},
"claim_mode": "True",
"type.pv": {
"bootloader": "/usr/bin/pygrub"
}
},
"disks": [
{
"pdev_path":
"/OVS/Repositories/0004fb0000030000abbd129258377a77/VirtualDisks/OVM_OL6U4_X86_64_PVM_2GB_UEK3_System.img",
"vdev": "xvda",
"format": "raw",
"readwrite": 1
}
],
"nics": [
{
"devid": 0,
"mac": "00:21:f6:00:08:aa",
"bridge": "10f36ca5ec"
}
],
"vfbs": [
{
"devid": 0,
"vnc": {
"listen": "127.0.0.1",
"findunused": "True"
},
"sdl": {
},
"keymap": "en-us"
}
],
"vkbs": [
{
"devid": 0
}
],
"on_reboot": "restart",
"on_crash": "restart"
}
}
]
Another HVM guest::
# xenstore-ls -f
...
/local/domain/2/memory/static-max = "716800"
/local/domain/2/memory/target = "708608"
/local/domain/2/memory/videoram = "8192"
Testing on:
commit 816f5bb1f0740be8355e1be6cc24edf09547d984
Author: Ian Campbell <ian.campbell@xxxxxxxxxx>
Date: Fri Oct 24 10:58:33 2014 +0100
It seems target_mem always bigger than max_mem. Looks wrong.
Thanks,
Zhigang
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |