From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z87WH-0005dE-9u for qemu-devel@nongnu.org; Thu, 25 Jun 2015 09:48:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z87WE-0001mq-1A for qemu-devel@nongnu.org; Thu, 25 Jun 2015 09:48:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z87WD-0001mf-S4 for qemu-devel@nongnu.org; Thu, 25 Jun 2015 09:48:41 -0400 From: Igor Mammedov Date: Thu, 25 Jun 2015 15:48:37 +0200 Message-Id: <1435240117-32300-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH] hostmem: fix build failure caused by qerror cleanups List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, armbru@redhat.com 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; } -- 1.8.3.1