Re: tape support

2008-09-13 Thread Laurent Vivier
Le samedi 13 septembre 2008 à 07:51 +0300, Avi Kivity a écrit : Laurent Vivier wrote: Le jeudi 11 septembre 2008 à 12:54 +0200, Dietmar Maurer a écrit : Is there a way to use a scsi tape? I tried -drive file=/dev/sg0, but that does not work (eject, rewind works, but read/write fails -

Re: tape support

2008-09-13 Thread Avi Kivity
Laurent Vivier wrote: How would that work? Won't qemu attempt to show the tape as a disk? Or does it detect this special case and passes-through the scsi device? Yes, Qemu detects it's SCSI interface and passes the SCSI commands to devices. But qemu ignores the type of the device

Re: tape support

2008-09-12 Thread Avi Kivity
Laurent Vivier wrote: Le jeudi 11 septembre 2008 à 12:54 +0200, Dietmar Maurer a écrit : Is there a way to use a scsi tape? I tried -drive file=/dev/sg0, but that does not work (eject, rewind works, but read/write fails - no date is written - no errors) try -drive

Re: tape support

2008-09-11 Thread Soren Hansen
On Thu, Sep 11, 2008 at 01:24:20PM +0200, Dietmar Maurer wrote: I already tried that - it does not work (the tape is seen as st0 as expected, but read/write operation does not work). Does the user running kvm have read/write access to the tape device on the host? -- Soren Hansen