From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1My6Gh-0001Uo-6N for qemu-devel@nongnu.org; Wed, 14 Oct 2009 12:00:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1My6Gc-0001RL-Fp for qemu-devel@nongnu.org; Wed, 14 Oct 2009 12:00:02 -0400 Received: from [199.232.76.173] (port=59819 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My6Gc-0001R3-BF for qemu-devel@nongnu.org; Wed, 14 Oct 2009 11:59:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:64976) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1My6Gb-00015j-Om for qemu-devel@nongnu.org; Wed, 14 Oct 2009 11:59:58 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9EFxuih020030 for ; Wed, 14 Oct 2009 11:59:57 -0400 Message-ID: <4AD5F575.90901@redhat.com> Date: Wed, 14 Oct 2009 17:59:49 +0200 From: Naphtali Sprei MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Pass the drive's readonly attribute to the guest OS References: <4AD5F3BD.2040402@redhat.com> <4AD5F4FB.6040905@redhat.com> In-Reply-To: <4AD5F4FB.6040905@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org Gerd Hoffmann wrote: > On 10/14/09 17:52, Naphtali Sprei wrote: >> Hi, >> as a preliminary step for adding read only flag for the -drive >> command, I've added code to pass >> the (existing) read only attribute of the drive to the guest OS (if it >> bother to ask). >> >> I've added for virtio and for scsi. > >> Where is usb ?? > > hw/usb-msd.c Thanks, what I meant is I can't find how can it be specified as a drive interface. > > should be already covered by scsi though. > > cheers, > Gerd >