]> git.proxmox.com Git - qemu.git/commit
atapi: reset cdrom tray statuses on ide_reset
authorPavel Hrdina <phrdina@redhat.com>
Tue, 11 Dec 2012 07:55:48 +0000 (08:55 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 13 Dec 2012 10:17:35 +0000 (11:17 +0100)
commita7f3d65b65b8c86a5ff0c0abcfefb45e2ec6fe4c
tree708dcca40fa75be61d8f2082a8feda75f9d0835f
parent91d4093dce58e343e2336324794daa93517b86c2
atapi: reset cdrom tray statuses on ide_reset

Tray statuses should be also reseted. Some guests may lock the tray
and after reset before any kernel is loaded the tray should be unlocked.

Also if you reset the real computer the tray is closed. We should
do the same in qemu.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/core.c