qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] hostmem: fix build failure caused by qerror cle


From: Igor Mammedov
Subject: Re: [Qemu-devel] [PATCH] hostmem: fix build failure caused by qerror cleanups
Date: Fri, 26 Jun 2015 11:36:31 +0200

On Fri, 26 Jun 2015 11:11:16 +0200
Markus Armbruster <address@hidden> wrote:

> Igor Mammedov <address@hidden> writes:
> 
> > Signed-off-by: Igor Mammedov <address@hidden>
> > ---
> >  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 <numaif.h>
> > @@ -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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]