2017-03-15 20:38:55 +01:00
|
|
|
From: Bruce Rogers <brogers@suse.com>
|
|
|
|
Date: Fri, 17 May 2013 16:49:58 -0600
|
2019-01-04 22:08:16 +01:00
|
|
|
Subject: increase x86_64 physical bits to 42
|
2017-03-15 20:38:55 +01:00
|
|
|
MIME-Version: 1.0
|
|
|
|
Content-Type: text/plain; charset=UTF-8
|
|
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
|
|
|
|
Allow for guests with higher amounts of ram. The current thought
|
|
|
|
is that 2TB specified on qemu commandline would be an appropriate
|
|
|
|
limit. Note that this requires the next higher bit value since
|
|
|
|
the highest address is actually more than 2TB due to the pci
|
|
|
|
memory hole.
|
|
|
|
|
|
|
|
Signed-off-by: Bruce Rogers <brogers@suse.com>
|
|
|
|
Signed-off-by: Andreas Färber <afaerber@suse.de>
|
|
|
|
---
|
2017-03-29 06:22:10 +02:00
|
|
|
target/i386/cpu.h | 2 +-
|
2017-03-15 20:38:55 +01:00
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2017-03-29 06:22:10 +02:00
|
|
|
diff --git a/target/i386/cpu.h b/target/i386/cpu.h
|
2020-08-12 00:53:07 +02:00
|
|
|
index e1a5c174dce15c4620bb94bc2826..2dc6d4ae0b61303401cc08bfb7ae 100644
|
2017-03-29 06:22:10 +02:00
|
|
|
--- a/target/i386/cpu.h
|
|
|
|
+++ b/target/i386/cpu.h
|
2020-08-12 00:53:07 +02:00
|
|
|
@@ -1963,7 +1963,7 @@ uint64_t cpu_get_tsc(CPUX86State *env);
|
2017-03-15 20:38:55 +01:00
|
|
|
/* XXX: This value should match the one returned by CPUID
|
|
|
|
* and in exec.c */
|
|
|
|
# if defined(TARGET_X86_64)
|
|
|
|
-# define TCG_PHYS_ADDR_BITS 40
|
|
|
|
+# define TCG_PHYS_ADDR_BITS 42
|
|
|
|
# else
|
|
|
|
# define TCG_PHYS_ADDR_BITS 36
|
|
|
|
# endif
|