Re: [Qemu-devel] [PATCH 26/55] scsi-disk: Track tray locked state

2011-07-26 Thread Christoph Hellwig
On Wed, Jul 20, 2011 at 06:24:00PM +0200, Markus Armbruster wrote: We already track it in BlockDriverState. Just like tray open/close state, we should track it in the device models instead, because it's device state. Signed-off-by: Markus Armbruster arm...@redhat.com Looks good,

[Qemu-devel] [PATCH 26/55] scsi-disk: Track tray locked state

2011-07-20 Thread Markus Armbruster
We already track it in BlockDriverState. Just like tray open/close state, we should track it in the device models instead, because it's device state. Signed-off-by: Markus Armbruster arm...@redhat.com --- hw/scsi-disk.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git