Re: [Qemu-devel] [PATCH v2 15/45] ide/atapi: Track tray locked state

2011-09-02 Thread Markus Armbruster
Kevin Wolf writes: > Am 03.08.2011 15:07, schrieb 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 >> --- >> hw/ide/atapi.c

Re: [Qemu-devel] [PATCH v2 15/45] ide/atapi: Track tray locked state

2011-09-02 Thread Kevin Wolf
Am 03.08.2011 15:07, schrieb 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 > --- > hw/ide/atapi.c|4 +++- > hw/ide/intern

[Qemu-devel] [PATCH v2 15/45] ide/atapi: Track tray locked state

2011-08-03 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 --- hw/ide/atapi.c|4 +++- hw/ide/internal.h |1 + 2 files changed, 4 insertions(+), 1 deletions(-)