diff mbox

[Bug,1562653] Re: Ubuntu 15.10: QEMU VM hang if memory >= 1T

Message ID 20160401041143.13892.8119.malone@gac.canonical.com
State New
Headers show

Commit Message

changlimin April 1, 2016, 4:11 a.m. UTC
The issue is sloved after change cpuid[80000008];
diff mbox

Patch

--- a/target-i386/cpu.c
+++ b/target-i386/cpu.c
@@ -2547,7 +2547,7 @@  void cpu_x86_cpuid(CPUX86State *env, uint32_t index, uint32_t count,
         if (env->features[FEAT_8000_0001_EDX] & CPUID_EXT2_LM) {
             /* 64 bit processor */
 /* XXX: The physical address space is limited to 42 bits in exec.c. */
-            *eax = 0x00003028; /* 48 bits virtual, 40 bits physical */
+            *eax = 0x00003029; /* 48 bits virtual, 41 bits physical */
         } else {
             if (env->features[FEAT_1_EDX] & CPUID_PSE36) {
                 *eax = 0x00000024; /* 36 bits physical */