Received: from eggs.gnu.org ([2001:4830:134:3::10]:55547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b56av-0003vn-N6 for qemu-devel@nongnu.org; Tue, 24 May 2016 03:17:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b56as-0004pT-FU for qemu-devel@nongnu.org; Tue, 24 May 2016 03:17:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38141) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b56as-0004pO-9g for qemu-devel@nongnu.org; Tue, 24 May 2016 03:17:34 -0400 Date: Tue, 24 May 2016 09:17:27 +0200 From: Igor Mammedov Message-ID: <20160524091727.066d96cd@nial.brq.redhat.com> In-Reply-To: References: <1463671442-15631-1-git-send-email-minyard@acm.org> <1463671442-15631-6-git-send-email-minyard@acm.org> <20160520115344.29b1a24d@nial.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v5 5/6] acpi: Add IPMI table entries List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: minyard@acm.org, "Michael S . Tsirkin" , qemu-devel@nongnu.org, cminyard@mvista.com On Mon, 23 May 2016 20:06:57 +0200 Paolo Bonzini wrote: > On 20/05/2016 11:53, Igor Mammedov wrote: > >> > diff --git a/hw/acpi/noipmi.c b/hw/acpi/noipmi.c > >> > new file mode 100644 > >> > index 0000000..dd7590d > >> > --- /dev/null > >> > +++ b/hw/acpi/noipmi.c > > move this to .a/stubs/ > > > > Don't overuse stubs. The stubs library is mostly to share code between > QEMU and the tools. What Corey did is more similar to what hw/ already > does in other places. So what's the rule when one should use stubs or not? > > Unfortunately, weak symbols are not portable. :( > > Paolo