[CentOS-virt] More than 32G on memory in a domU guest?

Wed Jun 29 00:21:09 UTC 2011
Norman Gaywood <ngaywood at une.edu.au>

Hmm bad form to answer myself, but:

On Wed, Jun 29, 2011 at 09:41:18AM +1000, Norman Gaywood wrote:
> dom0# cat /etc/xen/turing 
...
> maxmem = 40000
> memory = 40000
 
> dom0# xm list
...
> turing                                     1    40000    12 r----- 1842736.7

> guest boots like this (from /etc/grub.conf of guest):
> title Fedora (2.6.35.13-92.fc14.x86_64)
 
> However, the guest reports this:
> 
> domU# grep MemTotal /proc/meminfo 
> MemTotal:       32870604 kB

I missed this in /usr/src/kernels/2.6.35.13-92.fc14.x86_64/.config

CONFIG_PARAVIRT_GUEST=y
CONFIG_XEN=y
CONFIG_XEN_MAX_DOMAIN_MEMORY=32

So I guess that means that the fedora kernels are not built to use more
than 32G of memory in DomU.

-- 
Norman Gaywood, Computer Systems Officer
University of New England, Armidale, NSW 2351, Australia

ngaywood at une.edu.au            Phone: +61 (0)2 6773 3337
http://mcs.une.edu.au/~norm    Fax:   +61 (0)2 6773 3312

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html