thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone
9ae3a8
From aa6910ca37db66c51b7a9a6431b68f7223b8fd7b Mon Sep 17 00:00:00 2001
9ae3a8
From: Radim Krcmar <rkrcmar@redhat.com>
9ae3a8
Date: Wed, 27 Aug 2014 13:29:34 +0200
9ae3a8
Subject: [PATCH 2/6] pc: increase maximal VCPU count to 240
9ae3a8
MIME-Version: 1.0
9ae3a8
Content-Type: text/plain; charset=UTF-8
9ae3a8
Content-Transfer-Encoding: 8bit
9ae3a8
9ae3a8
Message-id: <1409146174-28442-1-git-send-email-rkrcmar@redhat.com>
9ae3a8
Patchwork-id: 60740
9ae3a8
O-Subject: [RHEL7.1 qemu-kvm PATCH] pc: increase maximal VCPU count to 240
9ae3a8
Bugzilla: 1134408
9ae3a8
RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com>
9ae3a8
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
9ae3a8
RH-Acked-by: Andrew Jones <drjones@redhat.com>
9ae3a8
9ae3a8
To prevent TCG from going over RHEL KVM's limit in bc949bc00c, we added
9ae3a8
another downstream constraint that needs to be bumped.
9ae3a8
9ae3a8
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
9ae3a8
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
9ae3a8
---
9ae3a8
 include/hw/i386/pc.h |    3 ++-
9ae3a8
 1 files changed, 2 insertions(+), 1 deletions(-)
9ae3a8
9ae3a8
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
9ae3a8
index 57e2f93..3b8f7d8 100644
9ae3a8
--- a/include/hw/i386/pc.h
9ae3a8
+++ b/include/hw/i386/pc.h
9ae3a8
@@ -15,7 +15,8 @@
9ae3a8
 #include "sysemu/sysemu.h"
9ae3a8
 #include "hw/pci/pci.h"
9ae3a8
 
9ae3a8
-#define RHEL_MAX_CPUS 160
9ae3a8
+/* KVM can't exceed KVM_SOFT_MAX_VCPUS (arch/x86/include/asm/kvm_host.h) */
9ae3a8
+#define RHEL_MAX_CPUS 240
9ae3a8
 
9ae3a8
 /* PC-style peripherals (also used by other machines).  */
9ae3a8
 
9ae3a8
-- 
9ae3a8
1.7.1
9ae3a8