summaryrefslogtreecommitdiffstats
path: root/hw/i2c.c
diff options
context:
space:
mode:
authorPaolo Bonzini2011-09-13 15:08:22 +0200
committerKevin Wolf2011-10-28 19:25:50 +0200
commita07c7dcd6f33b668747148ac28c0e147f958aa18 (patch)
tree08ac31ca4c0bcce5b81c09bfa93d96237425fef9 /hw/i2c.c
parentscsi-disk: store valid mode pages in a table (diff)
downloadqemu-a07c7dcd6f33b668747148ac28c0e147f958aa18.tar.gz
qemu-a07c7dcd6f33b668747148ac28c0e147f958aa18.tar.xz
qemu-a07c7dcd6f33b668747148ac28c0e147f958aa18.zip
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>
Diffstat (limited to 'hw/i2c.c')
0 files changed, 0 insertions, 0 deletions