commit | a07c7dcd6f33b668747148ac28c0e147f958aa18 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Tue Sep 13 15:08:22 2011 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Oct 28 19:25:50 2011 +0200 |
tree | 08ac31ca4c0bcce5b81c09bfa93d96237425fef9 | |
parent | a8f4bbe2900f0ebdead032fb8da137777bddd925 [diff] |
atapi/scsi-disk: make mode page values coherent between the two This patch adds to scsi-disk the missing mode page 0x01 for both disk and CD-ROM drives, and mode page 0x0e for CD drives only. A few offsets were wrong in atapi.c. Also change the 2Ah mode page to expose DVD media read capabilities in the IDE cdrom. This lets you run dvd+rw-mediainfo on the virtual DVD drives. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>