76daa3
From 9982768f5fc53178a0886b25a7a4b0ce2fe36c16 Mon Sep 17 00:00:00 2001
76daa3
From: Radim Krcmar <rkrcmar@redhat.com>
76daa3
Date: Wed, 19 Apr 2017 13:04:02 +0200
76daa3
Subject: x86: bump maximum vcpu count of pc-q35-rhel7.4.0 to 384
76daa3
MIME-Version: 1.0
76daa3
Content-Type: text/plain; charset=UTF-8
76daa3
Content-Transfer-Encoding: 8bit
76daa3
76daa3
RH-Author: Radim Krcmar <rkrcmar@redhat.com>
76daa3
Message-id: <20170413204227.12678-1-rkrcmar@redhat.com>
76daa3
Patchwork-id: 74778
76daa3
O-Subject: [RHEL7.4 qemu-kvm-rhev PATCH] x86: bump maximum vcpu count of pc-q35-rhel7.4.0 to 384
76daa3
Bugzilla: 1433956
76daa3
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
76daa3
RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com>
76daa3
RH-Acked-by: Bandan Das <bsd@redhat.com>
76daa3
76daa3
bug: https://bugzilla.redhat.com/show_bug.cgi?id=1433956
76daa3
brew: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=13014435
76daa3
tested: by me, with kernel patches posted at the same time
76daa3
76daa3
RHEL only.  This is asked by SAP for their upcoming bigger VMs.
76daa3
Upstream is going to use a more flexible limit of INT_MAX, but the patch
76daa3
is not merged yet and enforcing the supported limit might be what we
76daa3
want.  In any case, bumping one number is not a big maintenance burden.
76daa3
76daa3
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
76daa3
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
76daa3
---
76daa3
 hw/i386/pc_q35.c | 2 +-
76daa3
 1 file changed, 1 insertion(+), 1 deletion(-)
76daa3
76daa3
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
76daa3
index b86e24d..23d5f6b 100644
76daa3
--- a/hw/i386/pc_q35.c
76daa3
+++ b/hw/i386/pc_q35.c
76daa3
@@ -379,7 +379,7 @@ static void pc_q35_machine_rhel7_options(MachineClass *m)
76daa3
     m->no_floppy = 1;
76daa3
     m->has_dynamic_sysbus = true;
76daa3
     m->alias = "q35";
76daa3
-    m->max_cpus = 288;
76daa3
+    m->max_cpus = 384;
76daa3
     SET_MACHINE_COMPAT(m, PC_RHEL_COMPAT);
76daa3
 }
76daa3
 
76daa3
-- 
76daa3
1.8.3.1
76daa3