qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Aurelien Jarno <aurelien@aurel32.net>
To: qemu-devel@nongnu.org
Cc: ehrhardt@linux.vnet.ibm.com, avi@qumranet.com,
	kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, hollisb@us.ibm.com
Subject: Re: [Qemu-devel] [PATCH 1/3] qemu: ppc: define maximum SMP limit as 1 for Bamboo
Date: Sat, 1 Nov 2008 02:00:39 +0100	[thread overview]
Message-ID: <20081101010039.GD6083@volta.aurel32.net> (raw)
In-Reply-To: <1225184900-25713-1-git-send-email-ehrhardt@linux.vnet.ibm.com>

On Tue, Oct 28, 2008 at 10:08:20AM +0100, ehrhardt@linux.vnet.ibm.com wrote:
> From: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
> 
> Fix for qemu runtime error. Full error message:
> Number of SMP cpus requested (1), exceeds max cpus supported by machine `bamboo' (0)

The default max number of CPU has been set to 1 in revision 5566, so
this patch is not necessary anymore.

> Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
> Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
> ---
> 
> [diffstat]
>  ppc440_bamboo.c |    7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> [diff]
> diff --git a/qemu/hw/ppc440_bamboo.c b/qemu/hw/ppc440_bamboo.c
> --- a/qemu/hw/ppc440_bamboo.c
> +++ b/qemu/hw/ppc440_bamboo.c
> @@ -203,7 +203,8 @@ void bamboo_init(ram_addr_t ram_size, in
>  }
> 
>  QEMUMachine bamboo_machine = {
> -	"bamboo",
> -	"bamboo",
> -	bamboo_init,
> +	.name = "bamboo",
> +	.desc = "bamboo",
> +	.init = bamboo_init,
> +	.max_cpus = 1,
>  };
> 
> 
> 

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

      reply	other threads:[~2008-11-01  1:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-28  9:08 [Qemu-devel] [PATCH 1/3] qemu: ppc: define maximum SMP limit as 1 for Bamboo ehrhardt
2008-11-01  1:00 ` Aurelien Jarno [this message]

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=20081101010039.GD6083@volta.aurel32.net \
    --to=aurelien@aurel32.net \
    --cc=avi@qumranet.com \
    --cc=ehrhardt@linux.vnet.ibm.com \
    --cc=hollisb@us.ibm.com \
    --cc=kvm-ppc@vger.kernel.org \
    --cc=kvm@vger.kernel.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).