Received: from eggs.gnu.org ([2001:4830:134:3::10]:56607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8PfP-0001W8-MG for qemu-devel@nongnu.org; Fri, 26 Jun 2015 05:11:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8PfL-0008VQ-Mr for qemu-devel@nongnu.org; Fri, 26 Jun 2015 05:11:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8PfL-0008VK-IK for qemu-devel@nongnu.org; Fri, 26 Jun 2015 05:11:19 -0400 From: Markus Armbruster References: <1435240117-32300-1-git-send-email-imammedo@redhat.com> Date: Fri, 26 Jun 2015 11:11:16 +0200 In-Reply-To: <1435240117-32300-1-git-send-email-imammedo@redhat.com> (Igor Mammedov's message of "Thu, 25 Jun 2015 15:48:37 +0200") Message-ID: <87zj3mu957.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain 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: Igor Mammedov Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org 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.