All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: Keir Fraser <keir@xensource.com>
Cc: xen-devel@lists.xensource.com,
	Glauber de Oliveira Costa <gcosta@redhat.com>
Subject: Re: [PATCH] Make ballooning work with maxmem > mem (i386 version)
Date: Fri, 10 Nov 2006 15:50:08 +0000	[thread overview]
Message-ID: <20061110155008.GC19736@redhat.com> (raw)
In-Reply-To: <C17A4EC7.4549%keir@xensource.com>

On Fri, Nov 10, 2006 at 03:44:07PM +0000, Keir Fraser wrote:
> 
> 
> 
> On 10/11/06 15:33, "Glauber de Oliveira Costa" <gcosta@redhat.com> wrote:
> 
> >> I took both patches and then changed my mind and immediately reverted them.
> >> There is a better way: we should support the XENMEM_memory_map hypercall.
> >> We should provide a hypercall (domctl) to set a memory_map_limit parameter
> >> and then Xen can use that to fake a memory map when XENMEM_memory_map is
> >> called. The tools can set that parameter from config['maxmem'].
> > 
> > And what happens when the hypercall ever returns ENOSYS, like a kernel
> > running in a bit old Hypervisor?
> 
> Oh, and bear in mind you can always use 'memory=' as a boot parameter to
> force the p2m size and mem_map size.

That's not particuarly helpful when booting a domain with pygrub because
now everytime you change the memory settings in the config for the guest
you also need to update the grub config to actually make it take effect.
Or, if you're not using pygrub, then every time you change the 'mem'
setting in the guest config, you also need to update the 'extra' setting
for the command line.

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

      reply	other threads:[~2006-11-10 15:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-10 13:24 [PATCH] Make ballooning work with maxmem > mem (i386 version) Glauber de Oliveira Costa
     [not found] ` <C17A49E3.4537%keir@xensource.com>
2006-11-10 15:33   ` Glauber de Oliveira Costa
2006-11-10 15:43     ` Keir Fraser
2006-11-10 15:54       ` Daniel P. Berrange
2006-11-10 15:57         ` Keir Fraser
2006-11-10 16:10       ` Glauber de Oliveira Costa
2006-11-10 16:16         ` Keir Fraser
2006-11-10 20:27       ` Glauber de Oliveira Costa
2006-11-11  0:08         ` Keir Fraser
2006-11-10 15:44     ` Keir Fraser
2006-11-10 15:50       ` Daniel P. Berrange [this message]

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=20061110155008.GC19736@redhat.com \
    --to=berrange@redhat.com \
    --cc=gcosta@redhat.com \
    --cc=keir@xensource.com \
    --cc=xen-devel@lists.xensource.com \
    /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.