constify value pointer for qdev_prop_set_string
commit3b25597bcf7fa8c92ba2107fbdb260ce0eccd64b
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 17 Jul 2012 13:26:17 +0000 (17 15:26 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 17 Jul 2012 20:40:14 +0000 (17 15:40 -0500)
treee4bb7d8789e928322655d511f44a9a78297bd85d
parente1b4382cbf74f99992a0cf67a891bd82ab8cd68e
constify value pointer for qdev_prop_set_string

qdev_prop_set_string uses object_property_set_str, which takes
a const char * for the value. Lets propagate the constness
into qdev_prop_set_string.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/qdev-properties.c
hw/qdev.h