summaryrefslogtreecommitdiffstats
path: root/hw/usb-net.c
diff options
context:
space:
mode:
authorAnthony Liguori2012-02-12 18:36:24 +0100
committerAnthony Liguori2012-02-15 16:39:21 +0100
commitb2d4b3f7b8c8ad0519c4705a3b850446068e6946 (patch)
treeb82818d644b8c0813e033de422b4d4568b588dc3 /hw/usb-net.c
parentqom: Unify type registration (diff)
downloadqemu-b2d4b3f7b8c8ad0519c4705a3b850446068e6946.tar.gz
qemu-b2d4b3f7b8c8ad0519c4705a3b850446068e6946.tar.xz
qemu-b2d4b3f7b8c8ad0519c4705a3b850446068e6946.zip
device_add: don't add a /peripheral link until init is complete
Otherwise we end up with a dangling reference which causes qdev_free() to fail. Reported-by: Michael Tsirkin <mst@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/usb-net.c')
0 files changed, 0 insertions, 0 deletions