qdev: add reference for the bus while it is referred to by the DeviceState
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 25 Jan 2013 13:12:35 +0000 (14:12 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 1 Feb 2013 21:53:10 +0000 (15:53 -0600)
commit62d7ba669dbd5b4c92664eea453d28448ab9cb4b
tree61a26431a8982d8c93a9f1c94cad8c10031148c6
parent06f7f2bb562826101468f387b4a34971b16e9aee
qdev: add reference for the bus while it is referred to by the DeviceState

Now that the unparent callbacks are complete, we can correctly account
more missing references.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/qdev.c