|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] Make ballooning work with maxmem > mem (i386 ver
On Fri, Nov 10, 2006 at 03:44:07PM +0000, Keir Fraser wrote:
>
>
>
> On 10/11/06 15:33, "Glauber de Oliveira Costa" <gcosta@xxxxxxxxxx> 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 -=|
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|