summary refs log tree commit diff stats
path: root/hw/qdev.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-09-13 15:08:22 +0200
committerKevin Wolf <kwolf@redhat.com>2011-10-28 19:25:50 +0200
commita07c7dcd6f33b668747148ac28c0e147f958aa18 (patch)
tree08ac31ca4c0bcce5b81c09bfa93d96237425fef9 /hw/qdev.c
parenta8f4bbe2900f0ebdead032fb8da137777bddd925 (diff)
downloadfocaccia-qemu-a07c7dcd6f33b668747148ac28c0e147f958aa18.tar.gz
focaccia-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/qdev.c')
0 files changed, 0 insertions, 0 deletions