]> git.proxmox.com Git - mirror_qemu.git/commit
qom: use object_new_with_type in object_new_with_propv
authorWei Yang <richardw.yang@linux.intel.com>
Mon, 11 Mar 2019 08:32:34 +0000 (16:32 +0800)
committerLaurent Vivier <laurent@vivier.eu>
Fri, 3 May 2019 11:03:04 +0000 (13:03 +0200)
commit66e1155a693e44adcd75ac644269c046cd8672c5
tree5f4bd7986239f931b7f9ce13e00360ddd3820334
parente8338fdbbbda84e6f8df83bfccc162f868f8faa2
qom: use object_new_with_type in object_new_with_propv

Function object_new_with_propv already get the Type of the object, so we
could leverage object_new_with_type here.

Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20190311083234.20841-1-richardw.yang@linux.intel.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
qom/object.c