qdev: Reset hot-plugged devices
commit5ab28c8340f683121c081a181adfd9f72ab85cba
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 24 Jul 2011 17:38:36 +0000 (24 19:38 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 29 Jul 2011 13:17:40 +0000 (29 08:17 -0500)
treede5ec36022dbdb0a391aa2d19bd93f3975e680ae
parentc886edfb851c0c590d4e77f058f2ec8ed95ad1b5
qdev: Reset hot-plugged devices

Device models rely on the core invoking their reset handlers after init.
We do this in the cold-plug case, but so far we miss this step after
hot-plug.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/qdev.c