From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1My6Ei-00078o-Jg for qemu-devel@nongnu.org; Wed, 14 Oct 2009 11:58:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1My6Ea-0006w4-3u for qemu-devel@nongnu.org; Wed, 14 Oct 2009 11:57:57 -0400 Received: from [199.232.76.173] (port=40287 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My6EZ-0006vC-EW for qemu-devel@nongnu.org; Wed, 14 Oct 2009 11:57:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45490) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1My6EY-0000lV-TR for qemu-devel@nongnu.org; Wed, 14 Oct 2009 11:57:51 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9EFvnsb029155 for ; Wed, 14 Oct 2009 11:57:49 -0400 Message-ID: <4AD5F4FB.6040905@redhat.com> Date: Wed, 14 Oct 2009 17:57:47 +0200 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Pass the drive's readonly attribute to the guest OS References: <4AD5F3BD.2040402@redhat.com> In-Reply-To: <4AD5F3BD.2040402@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Naphtali Sprei Cc: qemu-devel@nongnu.org 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 should be already covered by scsi though. cheers, Gerd