From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LrwSW-00021p-77 for qemu-devel@nongnu.org; Thu, 09 Apr 2009 11:46:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LrwSR-0001td-C1 for qemu-devel@nongnu.org; Thu, 09 Apr 2009 11:46:31 -0400 Received: from [199.232.76.173] (port=51885 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrwSR-0001t4-64 for qemu-devel@nongnu.org; Thu, 09 Apr 2009 11:46:27 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:42387) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LrwSQ-0002L4-HC for qemu-devel@nongnu.org; Thu, 09 Apr 2009 11:46:26 -0400 Received: from [10.80.225.184] ([10.80.225.184]) by smtp01.ad.xensource.com (8.13.1/8.13.1) with ESMTP id n39FkKhS002339 for ; Thu, 9 Apr 2009 08:46:21 -0700 Message-ID: <49DE185E.6010002@eu.citrix.com> Date: Thu, 09 Apr 2009 16:46:38 +0100 From: Stefano Stabellini MIME-Version: 1.0 Subject: Re: [Qemu-devel] buffer alignment for block backends References: <49DCA80A.1020808@eu.citrix.com> <49DCF2C0.9070704@codemonkey.ws> <49DDC66F.2000404@eu.citrix.com> <49DDF3FF.8050706@codemonkey.ws> <49DDF877.8090805@eu.citrix.com> <49DDFE1A.9040202@redhat.com> <20090409152107.GE5457@const.bordeaux.inria.fr> In-Reply-To: <20090409152107.GE5457@const.bordeaux.inria.fr> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "qemu-devel@nongnu.org" Samuel Thibault wrote: > Gerd Hoffmann, le Thu 09 Apr 2009 15:54:34 +0200, a écrit : >> On 04/09/09 15:30, Stefano Stabellini wrote: >>> The userspace\kernelspace distinction does not make much sense in >>> minios, but yes it provides an interface to communicate with blkback in >>> dom0. This interface is used by block-vbd in qemu instead of >>> block-raw-posix when run in minios. >> Sit back, look again. Do you really need it being page-aligned? > > Page aligned is an optimization which comes for free when you can > already choose the alignment. > >> The xen block protocol can handle unaligned requests just fine. > > Not completely arbitrarily aligned requests. They need to be > sector-aligned. > Samuel is right, I was misled by my test environment. Blkfront does support sector aligned buffers (even though at the moment they don't work for me :P ).