[pve-devel] qemu memory hotplug limited to 64 dimm

Wolfgang Bumiller w.bumiller at proxmox.com
Tue Dec 13 16:29:23 CET 2016


On Tue, Dec 13, 2016 at 04:26:06PM +0100, Dietmar Maurer wrote:
> 
> 
> > On December 13, 2016 at 4:12 PM Alexandre DERUMIER <aderumier at odiso.com>
> > wrote:
> > 
> > 
> > I have asked to user to modprobe vhost module with region at 509, seem to
> > works fine.
> > 
> > maybe can we force it in kernel directly ?
> 
> yes, seems to be easy:
> 
> drivers/vhost/vhost.c:static ushort max_mem_regions = 64;
> 
> What value should we set exactly?
> 
> Any drawbacks?

It's a hack... I find the idea of configuring the dimm size more
appealing. Why would you want a huge amount of tiny DIMMs in a VM,
especially if it means kernel-patching... ? :|




More information about the pve-devel mailing list