qom: object: delete properties before calling instance_finalize
commit76a6e1cc7cc3ad022e7159b37b291b75bc4615bf
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 11 Jun 2014 09:58:30 +0000 (11 11:58 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sun, 17 Aug 2014 21:25:24 +0000 (17 23:25 +0200)
tree3a8249610b341035e314d97f9be91be411735747
parent33cbb2c546594685131e771e2e0972418b9d0301
qom: object: delete properties before calling instance_finalize

This ensures that the children's unparent callback will still
have a usable parent.

Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qom/object.c