From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47181) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wkpuc-0006xO-Rt for qemu-devel@nongnu.org; Thu, 15 May 2014 03:17:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkpuU-0001wo-GP for qemu-devel@nongnu.org; Thu, 15 May 2014 03:17:06 -0400 Received: from g4t3426.houston.hp.com ([15.201.208.54]:47529) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkpuU-0001wZ-BK for qemu-devel@nongnu.org; Thu, 15 May 2014 03:16:58 -0400 Message-ID: <537469B3.4030807@hp.com> Date: Thu, 15 May 2014 15:16:03 +0800 From: "Li, ZhenHua" MIME-Version: 1.0 References: <1399964954-10842-1-git-send-email-zhen-hual@hp.com> <5371F990.30604@siemens.com> In-Reply-To: <5371F990.30604@siemens.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/4] Support more than 255 cpus List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Igor Mammedov , qemu-devel@nongnu.org, Eduardo Habkost Kernel's kvm support is not here. x2APIC is needed, I will try to do that later. On 05/13/2014 06:53 PM, Jan Kiszka wrote: > On 2014-05-13 09:09, Li, Zhen-Hua wrote: >> From: "Li, ZhenHua" >> >> These series patches are trying to make Qemu support more than 255 CPUs. >> The max cpu number changed to 4096. >> >> Support more than 255 cpus: ACPI and APIC defines >> Support more than 255 cpus: max_cpus to 4096 >> Support more than 255 cpus: max cpumask bit to 4096 >> Support more than 255 cpus: runtime chec >> >> include/hw/acpi/cpu_hotplug_defs.h | 4 ++-- >> include/hw/i386/apic_internal.h | 2 +- >> include/hw/i386/pc.h | 2 +- >> include/sysemu/sysemu.h | 2 +- >> hw/i386/acpi-build.c | 8 ++++---- > Don't we need x2APIC support to provide >255 CPUs? Where so you enforce > this, i.e. keep the restriction to 255 CPUs when we are not in KVM mode > with in-kernel APIC (the emulate APIC lacks x2APIC mode, unfortunately)? > But, wait, KVM only supports up to 255 VCPUs. So what are you targeting at? > > Jan >