qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v4 1/5] qdev: add description field in PropertyI


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v4 1/5] qdev: add description field in PropertyInfo struct
Date: Tue, 30 Sep 2014 15:36:22 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1

Il 30/09/2014 15:33, Michael S. Tsirkin ha scritto:
> > > 
> > The Propertyinfo.name is used to the qdev property's type, please see PATCH 
> > 4:
> > 
> > -            info->type = g_strdup(prop->info->legacy_name ?: 
> > prop->info->name);
> > +            info->type = g_strdup(prop->info->name);
> 
> I would say this one is more a string than an int.

At the QOM level it is an int, even though it secondarily accepts a
string in "DD.F" format.

Paolo



reply via email to

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