Amit Shah 88f2bb58ef atapi: Report correct errors on guest eject request
Table 629 of the MMC-5 spec mentions two different error conditions when
a CDROM eject is requested: a) while a disc is inserted and b) while a
disc is not inserted.

Ensure we return the appropriate error for the present condition of the
drive and disc status.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2011-04-13 12:06:41 +02:00
..
2010-12-17 19:57:21 +01:00
2011-01-24 11:08:50 +01:00
2010-12-11 15:24:25 +00:00
2010-12-11 15:24:25 +00:00
2011-01-24 16:41:49 +01:00
2010-12-17 16:11:01 +01:00
2011-02-21 15:46:53 +01:00
2011-02-21 15:46:53 +01:00