Received: from eggs.gnu.org ([2001:4830:134:3::10]:35854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Q3t-0001se-01 for qemu-devel@nongnu.org; Fri, 26 Jun 2015 05:36:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8Q3m-0003PX-Px for qemu-devel@nongnu.org; Fri, 26 Jun 2015 05:36:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54517) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Q3m-0003PP-Ki for qemu-devel@nongnu.org; Fri, 26 Jun 2015 05:36:34 -0400 Date: Fri, 26 Jun 2015 11:36:31 +0200 From: Igor Mammedov Message-ID: <20150626113631.7a9c1b70@nial.brq.redhat.com> In-Reply-To: <87zj3mu957.fsf@blackfin.pond.sub.org> References: <1435240117-32300-1-git-send-email-imammedo@redhat.com> <87zj3mu957.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] hostmem: fix build failure caused by qerror cleanups List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org On Fri, 26 Jun 2015 11:11:16 +0200 Markus Armbruster wrote: > Igor Mammedov writes: > > > Signed-off-by: Igor Mammedov > > --- > > backends/hostmem.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/backends/hostmem.c b/backends/hostmem.c > > index 4b5c53d..403be07 100644 > > --- a/backends/hostmem.c > > +++ b/backends/hostmem.c > > @@ -15,6 +15,7 @@ > > #include "qapi-visit.h" > > #include "qemu/config-file.h" > > #include "qom/object_interfaces.h" > > +#include "qapi/qmp/qerror.h" > > > > #ifdef CONFIG_NUMA > > #include > > @@ -225,7 +226,7 @@ static void host_memory_backend_set_id(Object *obj, const char *id, > > HostMemoryBackend *backend = MEMORY_BACKEND(obj); > > > > if (backend->id) { > > - error_set(errp, QERR_INVALID_PARAMETER_VALUE, "id", > > + error_setg(errp, QERR_INVALID_PARAMETER_VALUE, "id", > > "can't change already set value"); > > return; > > } > > I can't see this code in master or on the list. > true, my local tree seems to be in a weird state. I've just cloned fresh tree and there isn't any error_set left in that file. I'm sorry for noise.