scsi-disk: Track tray open/close state
authorMarkus Armbruster <armbru@redhat.com>
Tue, 6 Sep 2011 16:58:40 +0000 (18:58 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 12 Sep 2011 13:17:20 +0000 (15:17 +0200)
commit62cf830564c7acba063b75a21ee3d85f78adf8fb
treeca12ac6e975aff8b363be379c3be8a2d01bb6200
parent5a26e4f41026e723155b2f0cc9aacdaba6db365c
scsi-disk: 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/scsi-disk.c