qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 0/4] Support more than 255 cpus


From: Jan Kiszka
Subject: Re: [Qemu-devel] [PATCH 0/4] Support more than 255 cpus
Date: Tue, 13 May 2014 12:53:04 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

On 2014-05-13 09:09, Li, Zhen-Hua wrote:
> From: "Li, ZhenHua" <address@hidden>
> 
> 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

-- 
Siemens AG, Corporate Technology, CT RTC ITP SES-DE
Corporate Competence Center Embedded Linux



reply via email to

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