From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: tape support Date: Sat, 13 Sep 2008 17:43:18 +0300 Message-ID: <48CBD186.6070906@qumranet.com> References: <7B7881568CF40E4388B615CD06F87B98024EE8@clara.maurer-it.com> <1221130881.4145.25.camel@frecb07144> <48CB46EA.3050005@qumranet.com> <1221292888.11231.5.camel@frecb07144> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Dietmar Maurer , kvm@vger.kernel.org To: Laurent Vivier Return-path: Received: from il.qumranet.com ([212.179.150.194]:45038 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750864AbYIMOpy (ORCPT ); Sat, 13 Sep 2008 10:45:54 -0400 In-Reply-To: <1221292888.11231.5.camel@frecb07144> Sender: kvm-owner@vger.kernel.org List-ID: 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 but OS (linux) detects > this as a tape (with INQUIRY). > > It works well for CD/DVD and disk, but I'm working with Dietmar to make > it working with tape (commands encoding differs)... and I found some > devices to test. > Neat... -- Do not meddle in the internals of kernels, for they are subtle and quick to panic.