commit | 0082374caae8b8f0e235034d3ee2faaa48274d42 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed Nov 16 13:02:42 2011 +0100 |
committer | Kevin O'Connor <kevin@koconnor.net> | Thu Nov 17 21:01:31 2011 -0500 |
tree | 565ad14aaba4990f6b49fc62c16a973b0edfd6f0 | |
parent | 7f7b0f6cbd716f18494d26045e42dd7a3c26dfb0 [diff] |
cdrom: use TEST UNIT READY to detect ready medium The READ CAPACITY output is not used except for some debugging messages. In the future, we will use this code for USB sticks too, but those already send READ CAPACITY. To avoid code duplication, switch to TEST UNIT READY for this task. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>