All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wei Liu <wei.liu2@citrix.com>
To: James Dingwall <james-xen@dingwall.me.uk>
Cc: Wei Liu <wei.liu2@citrix.com>,
	Shannon Zhao <shannon.zhao@linaro.org>,
	xen-devel@lists.xen.org
Subject: Re: xl mem-set for domain 0 regression
Date: Wed, 11 Oct 2017 17:00:45 +0100	[thread overview]
Message-ID: <20171011160045.kjndpldgl3xfqlz3@citrix.com> (raw)
In-Reply-To: <c77e0ce29558df3459573ae0550de821@dingwall.me.uk>

On Tue, Oct 10, 2017 at 04:03:32PM +0100, James Dingwall wrote:
> 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.

There should be a stub configuration file generated for Dom0.

Check if there is /var/lib/xen/userdata-d.0.0000-*000.libxl-json ?

If not, check if xen-init-dom0 service is run?

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

  reply	other threads:[~2017-10-11 16:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-10 15:03 xl mem-set for domain 0 regression James Dingwall
2017-10-11 16:00 ` Wei Liu [this message]
2017-10-12  9:06   ` James Dingwall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171011160045.kjndpldgl3xfqlz3@citrix.com \
    --to=wei.liu2@citrix.com \
    --cc=james-xen@dingwall.me.uk \
    --cc=shannon.zhao@linaro.org \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.