object: add class property initializer
commit2a1be4b34810c594b7f00e4b860df8d0c1cc6246
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 10 Jan 2020 15:30:19 +0000 (10 19:30 +0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Jan 2020 19:59:12 +0000 (24 20:59 +0100)
tree5d8078d8b5a66eeecd78efaa8ddaa817182d4f32
parentba806ffbdf11a63993e4b5d64cca085d385dc1bc
object: add class property initializer

This callback is used to set default value in following patch "object:
add object_property_set_defaut_{bool,str,int,uint}()".

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20200110153039.1379601-7-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/qom/object.h
qom/object.c