ide: drop ide_tray_state_post_load()
commitbde25388d1cee6576ff12dd40f9abf489f0031ed
authorLuiz Capitulino <lcapitulino@redhat.com>
Fri, 17 Feb 2012 18:40:00 +0000 (17 16:40 -0200)
committerLuiz Capitulino <lcapitulino@redhat.com>
Wed, 22 Feb 2012 19:23:33 +0000 (22 17:23 -0200)
tree86ba63ac28857641c864fadb5037239e1188faec
parentd88b1819dd6c6ba4b2270c98bf52ce67a315066d
ide: drop ide_tray_state_post_load()

This is used to sync the physical tray state after migration when
using CD-ROM passthrough. However, migrating when using passthrough
is broken anyway and shouldn't be supported...

So, drop this function as it causes a problem with the DEVICE_TRAY_MOVED
event, which is going to be introduced by the next commit.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/core.c