qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 2/4] Support more than 255 cpus: max_cpus to 4096


From: Li, Zhen-Hua
Subject: [Qemu-devel] [PATCH 2/4] Support more than 255 cpus: max_cpus to 4096
Date: Tue, 13 May 2014 15:09:12 +0800

From: "Li, ZhenHua" <address@hidden>

max_cpus from 255 to 4096. So the machine types can support up to 4096 cpus.

Signed-off-by: Li, ZhenHua <address@hidden>
---
 include/hw/i386/pc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
index 9010246..8183141 100644
--- a/include/hw/i386/pc.h
+++ b/include/hw/i386/pc.h
@@ -411,6 +411,6 @@ int e820_add_entry(uint64_t, uint64_t, uint32_t);
 #define PC_DEFAULT_MACHINE_OPTIONS \
     PC_COMMON_MACHINE_OPTIONS, \
     .hot_add_cpu = pc_hot_add_cpu, \
-    .max_cpus = 255
+    .max_cpus = 4096
 
 #endif
-- 
2.0.0-rc0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]