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

Re: [Xen-devel] [PATCH 1/1] xc_domain_restore: Allow QEMU to increase memory



On Wed, 2015-04-15 at 17:52 +0100, Wei Liu wrote:
> On Wed, Apr 15, 2015 at 05:45:15PM +0100, Ian Campbell wrote:
> > On Wed, 2015-04-15 at 17:36 +0100, Wei Liu wrote:
> > > On Wed, Apr 15, 2015 at 03:34:48PM +0100, Ian Campbell wrote:
> > > > On Tue, 2015-04-14 at 18:54 +0100, Wei Liu wrote:
> > > > > Let's see if we can record this in xc image format. I haven't looked,
> > > > > but George mentioned that it might be possible to do so.
> > > > 
> > > > Can this not be done at the save stage in the bit where we update the
> > > > JSON to reflect the actual configuration?
> > > > 
> > > 
> > > Yes, it's possible to do that. The value is not in libxl idl simply
> > > because it's always not there.
> > 
> > We can't set the existing maxmem then?
> > 
> 
> If the "we" in your question means an applications that use libxl's
> public interface, then no. It's not in IDL. It's not in xenstore. That
> value is currently managed by libxl + libxc + xen.

I was thinking of libxl_domain_build_info.max_memkb, which is in a
struct which is marshalled over the wire and which could be updated on
save to reflect the actual usage.

Does using that field not work for some reason?

Ian.


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