On Wed, Jun 10, 2015 at 03:18:50PM +0100, Wei Liu wrote:
> On Mon, Jun 08, 2015 at 11:46:47PM +0200, Laszlo Ersek wrote:
> > This is in response to
> > 
> > http://thread.gmane.org/gmane.comp.bios.tianocore.devel/15253
> > http://thread.gmane.org/gmane.comp.emulators.xen.devel/245623
> > 
> > It's an RFC only because the last patch doesn't actually work. Ideas
> > welcome.
> > 
> > Cc: Maoming <maoming.maom...@huawei.com>
> > Cc: Huangpeng (Peter) <peter.huangp...@huawei.com>
> > Cc: Wei Liu <wei.l...@citrix.com>
> > 
> > Thanks
> > Laszlo
> > 
> 
> Thanks Laszlo.
> 
> I think only the first two patches matter to Xen so I only tested those.
> Now I'm able to boot a guest with more than 64GB ram.
> 
> Here is what it looks like from a 128 GB guest.
> 
> root@debianhvm:~# free -m
>              total       used       free     shared    buffers     cached
> Mem:         12640        116      12523          0          6         27
> -/+ buffers/cache:         82      12558
> Swap:        26486          0      26486
> 

The above output is wrong because I mistyped guest memory size in
configuration (131072 vs 13172).

Here is the real thing:

root@debianhvm:~# free -m
             total       used       free     shared    buffers     cached
Mem:        128928     122424       6503          0          7     121883
-/+ buffers/cache:        532     128395
Swap:        26486          0      26486
root@debianhvm:~# 

Wei.

> Nice work!
> 
> Wei.
> 
> 
> > Laszlo Ersek (4):
> >   OvmfPkg: PlatformPei: enable larger permanent PEI RAM
> >   OvmfPkg: PlatformPei: create the CPU HOB with dynamic memory space
> >     width
> >   OvmfPkg: PlatformPei: beautify memory HOB order in QemuInitializeRam()
> >   OvmfPkg: PlatformPei: invert MTRR setup in QemuInitializeRam()
> > 
> >  OvmfPkg/PlatformPei/Platform.h  |   7 +++
> >  OvmfPkg/PlatformPei/MemDetect.c | 115 
> > +++++++++++++++++++++++++++++++++++-----
> >  OvmfPkg/PlatformPei/Platform.c  |   7 ++-
> >  3 files changed, 114 insertions(+), 15 deletions(-)
> > 
> > -- 
> > 1.8.3.1

------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to