block: Show whether the virtual tray is open in info block
authorMarkus Armbruster <armbru@redhat.com>
Tue, 6 Sep 2011 16:58:53 +0000 (18:58 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 12 Sep 2011 13:17:21 +0000 (15:17 +0200)
commite4def80b36231e161b91fa984cd0d73b45668f00
tree655c55c6efac3d7a17e3a004ac9889ba32342415
parent9e6a4c9177bc95aa04438458d75442e80db9ad33
block: Show whether the virtual tray is open in info block

Need to ask the device, so this requires new BlockDevOps member
is_tray_open().

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block.h
hw/ide/core.c
hw/scsi-disk.c
qmp-commands.hx