diff options
| author | Anthony Liguori <aliguori@us.ibm.com> | 2012-02-12 11:36:24 -0600 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-02-15 09:39:21 -0600 |
| commit | b2d4b3f7b8c8ad0519c4705a3b850446068e6946 (patch) | |
| tree | b82818d644b8c0813e033de422b4d4568b588dc3 /hw/usb-net.c | |
| parent | 83f7d43a9ef70b1b91e465173e18c845420e931e (diff) | |
| download | focaccia-qemu-b2d4b3f7b8c8ad0519c4705a3b850446068e6946.tar.gz focaccia-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