diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-03-30 14:54:31 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-06-18 15:14:38 +0200 |
commit | 8cb6789a31e8c5823b36d84416433c145a1e6442 (patch) | |
tree | 43f266ce5c165ee1c393173fa143e12b19a377d0 /hw/qdev.c | |
parent | ac7d1ba6d15ff10343d2ff5ea331fa6a41174f3f (diff) | |
download | qemu-8cb6789a31e8c5823b36d84416433c145a1e6442.tar.gz qemu-8cb6789a31e8c5823b36d84416433c145a1e6442.tar.bz2 qemu-8cb6789a31e8c5823b36d84416433c145a1e6442.zip |
qdev: Remove qdev_prop_exists()
Can be replaced everywhere with object_property_find().
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/qdev.c')
-rw-r--r-- | hw/qdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -323,7 +323,7 @@ void qdev_set_nic_properties(DeviceState *dev, NICInfo *nd) if (nd->netdev) qdev_prop_set_netdev(dev, "netdev", nd->netdev); if (nd->nvectors != DEV_NVECTORS_UNSPECIFIED && - qdev_prop_exists(dev, "vectors")) { + object_property_find(OBJECT(dev), "vectors")) { qdev_prop_set_uint32(dev, "vectors", nd->nvectors); } nd->instantiated = 1; |