This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] RE:2Gb Memory lost in - 50G memory, maxmem=50G

> > What happens if you provide dom0_mem=max:5G to clamp on the size?
> > 
> Seems nothing different(what is clamp means? ^_^ )


.. snip..
>  Xen: 0000000100000000 - 0000000c6ff09000 (usable)
> DMI present.
> AMI BIOS detected: BIOS may corrupt low RAM, working around it.
> last_pfn = 0xc6ff09 max_arch_pfn = 0x400000000
.. snip..
> xen_commandline        : msi=1 iommu=off x2apic=off console=com1,vga 
> com1=115200,8n1 noreboot dom0_mem=max:5G dom0_max_vcpus=4 dom0_vcpus_pin 
> cpuidle=0 cpufreq=none xsave=0

OK, I would have expected your last entry in the E820 to be truncated
to 15fe00000, but it is not with the max:5G parameter. Looks like
you found a bug - but I am not sure if it is the Xen hypervisor or
the E820 parsing code in Linux. Fortunatly for you, I just got my hands on 32G
machine so I can work on this. Can you remind me in a week if I you do
not see any patches from me?

Xen-devel mailing list