Hi, here are test results from the USB attached BD recorder. It is a SATA drive 'Optiarc' 'BD RW BD-5300S' rev '1.04' at a 'JMicron' 'JM20336 SATA, USB Combo' controller.
-------------------------------------------------------------------------- qemu start command is the same as with the internal SATA drive and my previous if=virtio tests x86_64-softmmu/qemu-system-x86_64 \ -L .../pc-bios \ -enable-kvm \ -nographic \ -m 512 \ -net nic,model=ne2k_pci \ -net user,hostfwd=tcp::5557-:22 \ -hda /dvdbuffer/i386-install.qemu \ -drive file=/dev/sg3,if=virtio \ -cdrom /dvdbuffer/pseudo_drive -------------------------------------------------------------------------- BD-RE The drive gets listed by xorriso option -devices (for libburn internal reasons it needs a softlink pointing from /dev/sr1 to /dev/vda). Media inquiry works fine. (Disc is a VERBATIM/IM0/0.) Reading of ISO 9660 filesytem works fine (via READ(10), not via read()). MD5s of content (from host tests) match. Writing with WRITE(10) and Defect Management works fine. Writing with WRITE(12) and Streaming bit (i.e. no Defect Management) works fine and at full nominal medium speed. Listing of available format descriptors works fine. Re-formatting works fine (with progress report by REQUEST SENSE). BD-R Media inquiry of blank medium works fine. (Disc is a VERBATIM/IMw/0, an LTH medium, not suitable for older BD drives.) Formatting works fine. (Drive reports no progress with TEST UNIT READY or REQUEST SENSE. Both commands indicate that the drive is busy. So this is a shortcomming of the drive and not of qemu.) Media inquiry of formatted medium works fine. Writing with WRITE(10) and Defect Management works fine. Writing with WRITE(12) and Streaming bit (i.e. no Defect Management) works fine and at full nominal medium speed. Reading of ISO 9660 filesytem works fine. MD5s match. (I do not test with unformatted BD-R, because there is no difference in the SCSI commands used for writing.) Closing after writing a final session works fine. Now for the most mediocre member of the DVD family: DVD-RAM (I really did find one that still works) Reading of old content works fine. Writing an ISO 9960 session works with WRITE(12) and Streaming bit as good as DVD-RAM can do. One file MD5 sum did not match. (So even this read test was challenged and tested.) Writing an ISO 9960 session works with WRITE(10) and Defect Management. Re-formatting works fine (with progress report by REQUEST SENSE). ----------------------------------------------------------------------- I repeat a consolidated summary of my successful tests with other media types with above qemu start command. DVD recorder was 'TSSTcorp' 'CDDVDW SH-S223B' rev SB02'. No test really failed. Some aspects of qemu virtio drives surprised my libburn and will have to be addressed in the next realeases of libburn and GNU xorriso. ----------------------------------------------------------------------- All media types Tray loading and ejecting. CD-RW (and most probably CD-R) Writing a session with a single track with write type TAO. As first session and as add-on session. Burning a CD SAO session to blank medium. Blanking in mode fast. Closing CD-RW after writing a TAO session. DVD in general Telling the drive the desired DVD write speed by SET STREAMING. DVD+RW Writing to thoroughly formatted DVD+RW. Writing to partly formatted DVD+RW and new unformatted DVD+RW. (With background formatting.) DVD-RW (and most probably DVD-R) Blanking. Writing with write type DAO to blank sequential DVD-RW. Writing with write type Incremental (aka Packet), multiple sessions. Closing sequential DVD-RW after an Incremental session. Formatting DVD-RW from sequential profile 0x14 to overwritable profile 0x13. Writing to partly formatted and to thoroughly formatted DVD-RW. DVD+R Writing sessions without using RESERVE TRACK. Writing sessions with RESERVE TRACK. Closing of medium. -------------------------------------------------------------------- Tomorrow i plan to test Paolo Bonzini's proposal -drive file=/dev/sr0,if=none,id=scsicd -device virtio-blk,drive=scsicd,logical_block_size=2048,physical_block_size=2048 with some of the re-usable media types. Have a nice day :) Thomas