From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JUmJZ-0000uE-BZ for qemu-devel@nongnu.org; Thu, 28 Feb 2008 12:13:01 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JUmJX-0000rx-GL for qemu-devel@nongnu.org; Thu, 28 Feb 2008 12:13:00 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUmJX-0000rj-9K for qemu-devel@nongnu.org; Thu, 28 Feb 2008 12:12:59 -0500 Received: from rv-out-0910.google.com ([209.85.198.184]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JUmJW-000168-Sb for qemu-devel@nongnu.org; Thu, 28 Feb 2008 12:12:59 -0500 Received: by rv-out-0910.google.com with SMTP id g11so6140618rvb.22 for ; Thu, 28 Feb 2008 09:12:55 -0800 (PST) Message-ID: <47C6EB8E.7070407@codemonkey.ws> Date: Thu, 28 Feb 2008 11:12:46 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Fix qemu PPC breakage in monitor.c References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Jerone Young The CPU hotplug patches have not been applied to QEMU yet. Regards,, Anthony Liguori Jerone Young wrote: > # HG changeset patch > # User Jerone Young > # Date 1204150440 21600 > # Branch merge > # Node ID f255b23b6ef9461be4ee18fa0745f30c4fb66e6a > # Parent 64a281615f436e65ca7fb2f3c2721c374fbfc8be > Fix qemu PPC breakage in monitor.c > > Recent pull of qemu_cvs has added function "qemu_system_cpu_hot_add" to the function "do_cput_set_nr" in monitor.c . Issue is qemu_system_cpu_hot_add is defined in acpi.c which is only compiled for arch with target base i386 (which are i386 & x86-64). > > Signed-off-by: Jerone Young > > diff --git a/qemu/monitor.c b/qemu/monitor.c > --- a/qemu/monitor.c > +++ b/qemu/monitor.c > @@ -357,7 +357,9 @@ static void do_cpu_set_nr(int value, con > term_printf("invalid status: %s\n", status); > return; > } > +#if defined(TARGET_I386) || defined(TARGET_X86_64) > qemu_system_cpu_hot_add(value, state); > +#endif > } > > static void do_info_jit(void) > > >