From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZIik-0003Gd-Qr for qemu-devel@nongnu.org; Tue, 08 Sep 2015 09:13:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZIif-00008f-Mx for qemu-devel@nongnu.org; Tue, 08 Sep 2015 09:13:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZIif-00008U-IQ for qemu-devel@nongnu.org; Tue, 08 Sep 2015 09:13:53 -0400 Date: Tue, 8 Sep 2015 09:13:51 -0400 From: Luiz Capitulino Message-ID: <20150908091351.19c2e5d6@redhat.com> In-Reply-To: <92042290.27379798.1441717496978.JavaMail.zimbra@redhat.com> References: <1441696197-22265-1-git-send-email-den@openvz.org> <1441696197-22265-3-git-send-email-den@openvz.org> <55EEB066.5040304@redhat.com> <20150908090345.6ee568e5@redhat.com> <92042290.27379798.1441717496978.JavaMail.zimbra@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/4] monitor: remove target-specific code from monitor.c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Peter Maydell , "Denis V. Lunev" , qemu-devel@nongnu.org, Pavel Butsykin On Tue, 8 Sep 2015 09:04:56 -0400 (EDT) Paolo Bonzini wrote: > > > > This should be added in patch 4, not now. > > > > > > > +const MonitorDef *target_monitor_defs(void) __attribute__((weak)); > > > > + > > > > +const MonitorDef *target_monitor_defs(void) > > > > +{ > > > > + return NULL; > > > > +} > > > > > > Weak symbols do not work on all platforms. Luckily, making libqemustub > > > a static library gets exactly the same result without the need for weak > > > symbols: the definition from the QEMU object files will hide the stub. > > > > > > You just need to remove __attribute__((weak)), and it should just work. > > > > > > Otherwise, the patches look good to me. Luiz, do you have time to post > > > a pull request for v4, or do you want to pass HMP maintainership as well > > > to someone else? > > > > It would be great to pass it to someone else. > > I can take the next version of these patches then. Thanks a lot! These are the patches I have pending for review: - [PATCH qemu 0/2] monitor/ppc: Print correct SPRs - [PATCH] trace-events: Add hmp completion - [PATCH v3 0/4] Move target- and device specific code from monitor > However, please make that > someone else also be someone other than me. :-) Well, we've always been short on maintainers...