qdev: allow setting properties to NULL
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 14 Feb 2012 09:19:52 +0000 (10:19 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Tue, 14 Feb 2012 18:57:32 +0000 (18:57 +0000)
commit0a54a0ce3e7659d7804274fcb058154d52fb8d82
tree6df5ecece1d70510a34f0d43c771c1627136b8b0
parent9d4df9c02866f39d3eef105033091f367cc7c29e
qdev: allow setting properties to NULL

SPARC and PPC set properties to NULL.  This can be done with an
empty string value.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/qdev-properties.c