qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 11/12] include core qdev code into *-user, too


From: Eduardo Habkost
Subject: Re: [Qemu-devel] [PATCH 11/12] include core qdev code into *-user, too
Date: Mon, 22 Oct 2012 10:43:13 -0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Oct 22, 2012 at 02:36:01PM +0200, Igor Mammedov wrote:
> On Tue, 16 Oct 2012 16:08:42 -0300
> Eduardo Habkost <address@hidden> wrote:
> [...]
> > diff --git a/qom/qdev-properties.c b/qom/qdev-properties.c
> > new file mode 100644
> > index 0000000..2e82cb9
> > --- /dev/null
> > +++ b/qom/qdev-properties.c
> [...]
> > +void qdev_prop_set_globals(DeviceState *dev)
> > +{
> > +    ObjectClass *class = object_get_class(OBJECT(dev));
> > +
> > +    do {
> > +        GlobalProperty *prop;
> > +        QTAILQ_FOREACH(prop, &global_props, next) {
> > +            if (strcmp(object_class_get_name(class), prop->driver) != 0) {
> > +                continue;
> > +            }
> > +            if (qdev_prop_parse(dev, prop->property, prop->value) != 0) {
> > +                exit(1);
> > +            }
> > +        }
> > +        class = object_class_get_parent(class);
> > +    } while (class);
> > +}
> > +
> ^^^ git complains "whitespace line at EOF" 

I will fix it on the next version. Thanks.

-- 
Eduardo



reply via email to

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