diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-03-16 19:11:43 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-03-19 16:35:17 +0100 |
commit | 9bcaf4fe264c507b59ab2e5fc6b2fa9d36f06d44 (patch) | |
tree | e0ef4997657b3d718ee710ea4fe33fcc21af401b /qapi/string-output-visitor.c | |
parent | 7725d14679c4391391b63f933d604b046ef8adf6 (diff) | |
download | qemu-9bcaf4fe264c507b59ab2e5fc6b2fa9d36f06d44.zip qemu-9bcaf4fe264c507b59ab2e5fc6b2fa9d36f06d44.tar.gz qemu-9bcaf4fe264c507b59ab2e5fc6b2fa9d36f06d44.tar.bz2 |
scsi-cd: check ready condition before processing several commands
This commit is more or less obvious. What it caused is less obvious:
SCSI CD drives failed to eject under Linux, though for example the
"change" command worked okay. This happens because of the autoclose
option in the Linux CD-ROM driver.
The actual chain of events is quite complex and somehow involves
udev helpers; the actual command that matters is READ TOC, though
honestly it's not really clear to me how because it should always be
invoked after autoclose, not before.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qapi/string-output-visitor.c')
0 files changed, 0 insertions, 0 deletions