summaryrefslogtreecommitdiffstats
path: root/hw/qdev.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-06-01 20:32:30 +0200
committerKevin Wolf <kwolf@redhat.com>2010-06-04 11:43:39 +0200
commitcc98467327e13adca8f65b5a841c08930ee68220 (patch)
treedc62e7b9d2b94d65dbd3dd13d7c889ecbb133a5f /hw/qdev.h
parent57234ee40d314f91cf5bd16a926f30a6985e06e2 (diff)
downloadhqemu-cc98467327e13adca8f65b5a841c08930ee68220.zip
hqemu-cc98467327e13adca8f65b5a841c08930ee68220.tar.gz
qdev: New qdev_prop_set_string()
Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/qdev.h')
-rw-r--r--hw/qdev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/qdev.h b/hw/qdev.h
index a44060e..7c25a94 100644
--- a/hw/qdev.h
+++ b/hw/qdev.h
@@ -268,6 +268,7 @@ void qdev_prop_set_uint16(DeviceState *dev, const char *name, uint16_t value);
void qdev_prop_set_uint32(DeviceState *dev, const char *name, uint32_t value);
void qdev_prop_set_int32(DeviceState *dev, const char *name, int32_t value);
void qdev_prop_set_uint64(DeviceState *dev, const char *name, uint64_t value);
+void qdev_prop_set_string(DeviceState *dev, const char *name, char *value);
void qdev_prop_set_chr(DeviceState *dev, const char *name, CharDriverState *value);
void qdev_prop_set_netdev(DeviceState *dev, const char *name, VLANClientState *value);
void qdev_prop_set_vlan(DeviceState *dev, const char *name, VLANState *value);
OpenPOWER on IntegriCloud