qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Li, Zhen-Hua" <zhen-hual@hp.com>
To: qemu-devel@nongnu.org, qemu-trivial@nongnu.org, qemu-stable@nongnu.org
Cc: "Li, ZhenHua" <zhen-hual@hp.com>
Subject: [Qemu-devel] [PATCH 3/4] Support more than 255 cpus: max cpumask bit to 4096
Date: Tue, 13 May 2014 15:09:13 +0800	[thread overview]
Message-ID: <1399964954-10842-4-git-send-email-zhen-hual@hp.com> (raw)
In-Reply-To: <1399964954-10842-1-git-send-email-zhen-hual@hp.com>

From: "Li, ZhenHua" <zhen-hual@hp.com>

Change MAX_CPUMASK_BITS from 255 to 4096.

Signed-off-by: Li, ZhenHua <zhen-hual@hp.com>
---
 include/sysemu/sysemu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
index ba5c7f8..97961a6 100644
--- a/include/sysemu/sysemu.h
+++ b/include/sysemu/sysemu.h
@@ -139,7 +139,7 @@ extern QEMUClockType rtc_clock;
  *
  * Note that cpu->get_arch_id() may be larger than MAX_CPUMASK_BITS.
  */
-#define MAX_CPUMASK_BITS 255
+#define MAX_CPUMASK_BITS 4096
 
 extern int nb_numa_nodes;
 extern uint64_t node_mem[MAX_NODES];
-- 
2.0.0-rc0

  parent reply	other threads:[~2014-05-13  7:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-13  7:09 [Qemu-devel] [PATCH 0/4] Support more than 255 cpus Li, Zhen-Hua
2014-05-13  7:09 ` [Qemu-devel] [PATCH 1/4] Support more than 255 cpus: ACPI and APIC defines Li, Zhen-Hua
2014-05-13  7:09 ` [Qemu-devel] [PATCH 2/4] Support more than 255 cpus: max_cpus to 4096 Li, Zhen-Hua
2014-05-13  7:09 ` Li, Zhen-Hua [this message]
2014-05-13  7:09 ` [Qemu-devel] [PATCH 4/4] Support more than 255 cpus: runtime check Li, Zhen-Hua
2014-05-13  8:19   ` Max Filippov
2014-05-15  7:16     ` Li, ZhenHua
2014-05-15 12:36       ` Max Filippov
2014-05-13  9:12 ` [Qemu-devel] [PATCH 0/4] Support more than 255 cpus Andreas Färber
2014-05-13 10:53 ` Jan Kiszka
2014-05-15  7:16   ` Li, ZhenHua
2014-05-15  8:35     ` Jan Kiszka

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=1399964954-10842-4-git-send-email-zhen-hual@hp.com \
    --to=zhen-hual@hp.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-stable@nongnu.org \
    --cc=qemu-trivial@nongnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).