qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Wei Huang <wehuang@redhat.com>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, kvmarm@lists.cs.columbia.edu,
	wehuang@redhat.com
Subject: [Qemu-devel] [PATCH 1/1] hw/arm/virt: increase max SMP CPU support to 8 for ARM virt
Date: Thu, 21 Aug 2014 10:51:23 -0400	[thread overview]
Message-ID: <1408632683-26861-1-git-send-email-wehuang@redhat.com> (raw)

Current ARM virt model supports up to 4 CPUs. Given that many recent
ARM servers contain 8 or more cores, it is time to bump up max guest CPUs
to 8. This patch was tested with a VM runnng 3.15 Linux kernel. All 8
VCPUs showed up.

Signed-off-by: Wei Huang <wehuang@redhat.com>
---
 hw/arm/virt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index ba94298..73a2a0f 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -520,7 +520,7 @@ static QEMUMachine machvirt_a15_machine = {
     .name = "virt",
     .desc = "ARM Virtual Machine",
     .init = machvirt_init,
-    .max_cpus = 4,
+    .max_cpus = 8,
 };
 
 static void machvirt_machine_init(void)
-- 
1.8.3.1

             reply	other threads:[~2014-08-21 14:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-21 14:51 Wei Huang [this message]
2014-08-21 14:59 ` [Qemu-devel] [PATCH 1/1] hw/arm/virt: increase max SMP CPU support to 8 for ARM virt Joel Schopp
2014-08-21 15:08   ` Wei Huang

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=1408632683-26861-1-git-send-email-wehuang@redhat.com \
    --to=wehuang@redhat.com \
    --cc=kvmarm@lists.cs.columbia.edu \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@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).