aboutsummaryrefslogtreecommitdiff
path: root/hw/qdev.h
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2010-06-23 16:15:29 +0900
committerBlue Swirl <blauwirbel@gmail.com>2010-07-11 20:00:58 +0300
commitf4594a3be005ea96e276a1354184258f5ef3b8da (patch)
treee9b55ecccfed798c4ce89e93c5e56cbaf67cff61 /hw/qdev.h
parente327e323f103f7354a0385b835255e86b16ae669 (diff)
qdev: implement qdev_prop_set_bit().
implement qdev_prop_set_bit(). Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Blue Swirl <blauwirbel@gmail.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 3e22eecc06..678f8b7d1d 100644
--- a/hw/qdev.h
+++ b/hw/qdev.h
@@ -269,6 +269,7 @@ void *qdev_get_prop_ptr(DeviceState *dev, Property *prop);
int qdev_prop_exists(DeviceState *dev, const char *name);
int qdev_prop_parse(DeviceState *dev, const char *name, const char *value);
void qdev_prop_set(DeviceState *dev, const char *name, void *src, enum PropertyType type);
+void qdev_prop_set_bit(DeviceState *dev, const char *name, bool value);
void qdev_prop_set_uint8(DeviceState *dev, const char *name, uint8_t value);
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);