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

[Xen-devel] xl mem-set for domain 0 regression



Hi,

We are migrating from xen 4.4 to xen 4.8. At the moment we boot our system with a xen command line that includes "dom0_mem=8192m,min:1728m,max:8192m". We have autoballoon of dom0 disabled in xl.conf and instead call xl mem-set 0 <memory_size> to change the dom0 memory allocation. (We shrink before starting guest domains and then increase it when all are stopped.)

In xen 4.8.2 the xl mem-set command fails with this error:

# xl mem-set 0 3990
libxl: error: libxl.c:4196:libxl_set_memory_target: unable to retrieve domain configuration: No such file or directory
cannot set domid 0 dynamic max memory to : 3990

I think it was the following commit that made it necessary to access the configuration file but perhaps for the case domid == 0 this should be skipped? If it is that simple I could try a patch which includes that test.

commit 38cd0664a6bf1c3b887992ea029d2bb516f52c59
Author: Shannon Zhao <shannon.zhao@xxxxxxxxxx>
Date:   Wed Sep 28 18:19:02 2016 -0700

    libxl/arm: Add the size of ACPI tables to maxmem

    Here it adds the ACPI tables size to set the target maxmem to avoid
    providing less available memory for guest.


Thanks,
James

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

 


Rackspace

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