Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/nvmm Increase the max guest ram from 4GB to 128GB.



details:   https://anonhg.NetBSD.org/src/rev/6d658ded2609
branches:  trunk
changeset: 448843:6d658ded2609
user:      maxv <maxv%NetBSD.org@localhost>
date:      Mon Feb 11 07:07:37 2019 +0000

description:
Increase the max guest ram from 4GB to 128GB.

diffstat:

 sys/dev/nvmm/nvmm_internal.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c8ef08e48de6 -r 6d658ded2609 sys/dev/nvmm/nvmm_internal.h
--- a/sys/dev/nvmm/nvmm_internal.h      Mon Feb 11 05:59:00 2019 +0000
+++ b/sys/dev/nvmm/nvmm_internal.h      Mon Feb 11 07:07:37 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nvmm_internal.h,v 1.3 2019/01/26 15:25:51 maxv Exp $   */
+/*     $NetBSD: nvmm_internal.h,v 1.4 2019/02/11 07:07:37 maxv Exp $   */
 
 /*
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
 #define NVMM_MAX_MACHINES      128
 #define NVMM_MAX_VCPUS         256
 #define NVMM_MAX_SEGS          32
-#define NVMM_MAX_RAM           (4UL * (1 << 30))
+#define NVMM_MAX_RAM           (128ULL * (1 << 30))
 
 struct nvmm_cpu {
        /* Shared. */



Home | Main Index | Thread Index | Old Index