qdev: accept empty string properties
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 28 Feb 2012 08:54:14 +0000 (09:54 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 12 Mar 2012 19:05:25 +0000 (14:05 -0500)
commit66d341e54f7b81ff076ffd681ed574d557bd7495
tree5e97ed416746ee5e5da074215dcec86501976c1d
parenta348f108842fb928563865c9918642900cd0d477
qdev: accept empty string properties

These were stored as NULL due to wrong cut-and-paste from set_pointer.

Reported-by: Gerhard Wiesinger <lists@wiesinger.com>
Tested-by: Gerhard Wiesinger <lists@wiesinger.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/qdev-properties.c