qdev: Move qdev_unplug() to qdev-monitor.c
commit329006799f93265bff5e10a4e1dd50b66fe09e6b
authorJuan Quintela <quintela@redhat.com>
Tue, 28 Mar 2017 09:22:51 +0000 (28 11:22 +0200)
committerJuan Quintela <quintela@redhat.com>
Fri, 21 Apr 2017 10:25:40 +0000 (21 12:25 +0200)
tree9d1f3107860c81eb4bbe80f79a778429b065858b
parent21def24a5a58ad0ea9f7b02c084387e71b11ff1b
qdev: Move qdev_unplug() to qdev-monitor.c

It is not used by linux-user, otherwise I need to to create one stub
for migration_is_idle() on following patch.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
hw/core/qdev.c
qdev-monitor.c