Revision b000dfbd hw/qdev-properties.h

b/hw/qdev-properties.h
167 167
 */
168 168
void qdev_property_add_static(DeviceState *dev, Property *prop, Error **errp);
169 169

  
170
/**
171
 * @qdev_prop_set_after_realize:
172
 * @dev: device
173
 * @name: name of property
174
 * @errp: indirect pointer to Error to be set
175
 * Set the Error object to report that an attempt was made to set a property
176
 * on a device after it has already been realized. This is a utility function
177
 * which allows property-setter functions to easily report the error in
178
 * a friendly format identifying both the device and the property.
179
 */
180
void qdev_prop_set_after_realize(DeviceState *dev, const char *name,
181
                                 Error **errp);
170 182
#endif

Also available in: Unified diff