Re: [Qemu-devel] [PATCH v2] qdev: Reset hot-plugged devices

2011-07-29 Thread Anthony Liguori
On 07/24/2011 12:38 PM, Jan Kiszka wrote: From: Jan Kiszka 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 Applied. Thanks. Regards, Anthony Liguori --- Chan

[Qemu-devel] [PATCH v2] qdev: Reset hot-plugged devices

2011-07-24 Thread Jan Kiszka
From: Jan Kiszka 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 --- Changes in v2: - move reset to qdev_init in case the device is created by the hot-plugged o