]> git.proxmox.com Git - qemu.git/commit
ide/atapi: Track tray open/close state
authorMarkus Armbruster <armbru@redhat.com>
Tue, 6 Sep 2011 16:58:38 +0000 (18:58 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 12 Sep 2011 13:17:20 +0000 (15:17 +0200)
commitdd063333929f2e2a44dc900aa4f75f11dea7cb28
tree495f1f7aee675d16f580c2f011d9f30b6e5f0e63
parentf0776564182c37362f070b84b5fc63c2a944df6e
ide/atapi: Track tray open/close state

We already track it in BlockDriverState since commit 4be9762a.  As
discussed in that commit's message, we should track it in the device
device models instead, because it's device state.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/atapi.c
hw/ide/internal.h