From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O8zUZ-0004Nd-4z for qemu-devel@nongnu.org; Mon, 03 May 2010 13:31:39 -0400 Received: from [140.186.70.92] (port=56743 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8zUV-0004GJ-L4 for qemu-devel@nongnu.org; Mon, 03 May 2010 13:31:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O8zT9-0003ZT-OT for qemu-devel@nongnu.org; Mon, 03 May 2010 13:30:13 -0400 Received: from mail-wy0-f173.google.com ([74.125.82.173]:57301) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8zT9-0003ZH-Jg for qemu-devel@nongnu.org; Mon, 03 May 2010 13:30:11 -0400 Received: by wyj26 with SMTP id 26so1723791wyj.4 for ; Mon, 03 May 2010 10:30:09 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20100304132017.GA2200@lst.de> References: <20100304132017.GA2200@lst.de> From: Artyom Tarasenko Date: Mon, 3 May 2010 19:29:45 +0200 Message-ID: Subject: Re: [Qemu-devel] [PATCH] block: add logical_block_size property Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christoph Hellwig Cc: Christian Borntraeger , qemu-devel@nongnu.org 2010/3/4 Christoph Hellwig : > > Add a logical block size attribute as various guest side tools only > increase the filesystem sector size based on it, not the advisory > physical block size. > > For scsi we already have support for a different logical block size > in place for CDROMs that we can built upon. =A0Only my recent block > device characteristics VPD page needs some fixups. =A0Note that we > leave the logial block size for CDROMs hardcoded as the 2k value > is expected for it in general. By "general" do you mean qemu, or the guests? Solaris 2.0 - 2.5.1 and SunOS 4.x expect CDROM block size of 512 bytes. Would have been nice to have the block size for CDROM configurable too. Currently the CDROMs mentioned above have to be plugged as hard disks in order to function. --=20 Regards, Artyom Tarasenko solaris/sparc under qemu blog: http://tyom.blogspot.com/