Revision d8ed79ae hw/qdev-properties.c
b/hw/qdev-properties.c | ||
---|---|---|
480 | 480 |
return NULL; |
481 | 481 |
} |
482 | 482 |
|
483 |
int qdev_prop_exists(DeviceState *dev, const char *name) |
|
484 |
{ |
|
485 |
return qdev_prop_find(dev, name) ? true : false; |
|
486 |
} |
|
487 |
|
|
483 | 488 |
int qdev_prop_parse(DeviceState *dev, const char *name, const char *value) |
484 | 489 |
{ |
485 | 490 |
Property *prop; |
Also available in: Unified diff