From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn3TW-0001TS-IY for qemu-devel@nongnu.org; Thu, 22 Sep 2016 08:51:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn3TQ-0005E2-23 for qemu-devel@nongnu.org; Thu, 22 Sep 2016 08:51:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn3TP-0005Dp-SH for qemu-devel@nongnu.org; Thu, 22 Sep 2016 08:51:31 -0400 From: Igor Mammedov Date: Thu, 22 Sep 2016 14:50:55 +0200 Message-Id: <1474548655-157373-15-git-send-email-imammedo@redhat.com> In-Reply-To: <1474548655-157373-1-git-send-email-imammedo@redhat.com> References: <1474548655-157373-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH v2 14/14] pc: q35: bump max_cpus to 288 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: rkrcmar@redhat.com, ehabkost@redhat.com, mst@redhat.com, kevin@koconnor.net, pbonzini@redhat.com, lersek@redhat.com, chao.gao@intel.com, peterx@redhat.com, liuxiaojian6@huawei.com along with it for machine versions 2.7 and older keep it at 255. Signed-off-by: Igor Mammedov --- v2: - make 288 cpus available only since q35-2.8 machine type --- hw/i386/pc_q35.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index 0b214f2..b40d19e 100644 --- a/hw/i386/pc_q35.c +++ b/hw/i386/pc_q35.c @@ -291,6 +291,7 @@ static void pc_q35_machine_options(MachineClass *m) m->default_display = "std"; m->no_floppy = 1; m->has_dynamic_sysbus = true; + m->max_cpus = 288; } static void pc_q35_2_8_machine_options(MachineClass *m) @@ -306,6 +307,7 @@ static void pc_q35_2_7_machine_options(MachineClass *m) { pc_q35_2_8_machine_options(m); m->alias = NULL; + m->max_cpus = 255; SET_MACHINE_COMPAT(m, PC_COMPAT_2_7); } -- 2.7.4