From: Jes Sorensen <jes@sgi.com>
To: kvm-ia64@vger.kernel.org
Subject: Re: [patch] kvm-userland - raise max vcpus to 256 for ia64
Date: Thu, 13 Nov 2008 13:37:59 +0000 [thread overview]
Message-ID: <491C2DB7.1020206@sgi.com> (raw)
In-Reply-To: <48F70B1C.3090002@sgi.com>
[-- Attachment #1: Type: text/plain, Size: 275 bytes --]
Avi Kivity wrote:
> Zhang, Xiantao wrote:
>> Hi, Avi Since kener side is ready, could you apply the patch from
>> Jes?
>
> Needs changes since qemu changed in this area. Please rebase.
>
Hi,
Here's a rebase of the CPU number patch. Builds for me.
Cheers,
Jes
[-- Attachment #2: 1100-qemu-nr-cpus.patch --]
[-- Type: text/plain, Size: 844 bytes --]
Raise max number of vcpus for ia64 to 256.
Signed-off-by: Jes Sorensen <jes@sgi.com>
---
libkvm/kvm-common.h | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
Index: kvm-userspace.git/libkvm/kvm-common.h
===================================================================
--- kvm-userspace.git.orig/libkvm/kvm-common.h
+++ kvm-userspace.git/libkvm/kvm-common.h
@@ -18,13 +18,16 @@
/* FIXME: share this number with kvm */
/* FIXME: or dynamically alloc/realloc regions */
-#ifndef __s390__
-#define KVM_MAX_NUM_MEM_REGIONS 32u
-#define MAX_VCPUS 16
-#else
+#ifdef __s390__
#define KVM_MAX_NUM_MEM_REGIONS 1u
#define MAX_VCPUS 64
#define LIBKVM_S390_ORIGIN (0UL)
+#elif __ia64__
+#define KVM_MAX_NUM_MEM_REGIONS 32u
+#define MAX_VCPUS 256
+#else
+#define KVM_MAX_NUM_MEM_REGIONS 32u
+#define MAX_VCPUS 16
#endif
WARNING: multiple messages have this Message-ID (diff)
From: Jes Sorensen <jes@sgi.com>
To: Avi Kivity <avi@redhat.com>
Cc: "Zhang, Xiantao" <xiantao.zhang@intel.com>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
"kvm-ia64@vger.kernel.org" <kvm-ia64@vger.kernel.org>
Subject: Re: [patch] kvm-userland - raise max vcpus to 256 for ia64
Date: Thu, 13 Nov 2008 14:37:59 +0100 [thread overview]
Message-ID: <491C2DB7.1020206@sgi.com> (raw)
In-Reply-To: <49118C8C.7060305@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 275 bytes --]
Avi Kivity wrote:
> Zhang, Xiantao wrote:
>> Hi, Avi Since kener side is ready, could you apply the patch from
>> Jes?
>
> Needs changes since qemu changed in this area. Please rebase.
>
Hi,
Here's a rebase of the CPU number patch. Builds for me.
Cheers,
Jes
[-- Attachment #2: 1100-qemu-nr-cpus.patch --]
[-- Type: text/plain, Size: 844 bytes --]
Raise max number of vcpus for ia64 to 256.
Signed-off-by: Jes Sorensen <jes@sgi.com>
---
libkvm/kvm-common.h | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
Index: kvm-userspace.git/libkvm/kvm-common.h
===================================================================
--- kvm-userspace.git.orig/libkvm/kvm-common.h
+++ kvm-userspace.git/libkvm/kvm-common.h
@@ -18,13 +18,16 @@
/* FIXME: share this number with kvm */
/* FIXME: or dynamically alloc/realloc regions */
-#ifndef __s390__
-#define KVM_MAX_NUM_MEM_REGIONS 32u
-#define MAX_VCPUS 16
-#else
+#ifdef __s390__
#define KVM_MAX_NUM_MEM_REGIONS 1u
#define MAX_VCPUS 64
#define LIBKVM_S390_ORIGIN (0UL)
+#elif __ia64__
+#define KVM_MAX_NUM_MEM_REGIONS 32u
+#define MAX_VCPUS 256
+#else
+#define KVM_MAX_NUM_MEM_REGIONS 32u
+#define MAX_VCPUS 16
#endif
next prev parent reply other threads:[~2008-11-13 13:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-16 9:36 [patch] kvm-userland - raise max vcpus to 256 for ia64 Jes Sorensen
2008-10-16 9:36 ` Jes Sorensen
2008-10-16 10:10 ` Zhang, Xiantao
2008-10-16 10:10 ` Zhang, Xiantao
2008-11-03 8:50 ` Zhang, Xiantao
2008-11-03 8:50 ` Zhang, Xiantao
2008-11-05 12:07 ` Avi Kivity
2008-11-05 12:07 ` Avi Kivity
2008-11-13 13:37 ` Jes Sorensen [this message]
2008-11-13 13:37 ` Jes Sorensen
2008-11-13 13:54 ` Avi Kivity
2008-11-13 13:54 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=491C2DB7.1020206@sgi.com \
--to=jes@sgi.com \
--cc=kvm-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.