Received: from eggs.gnu.org ([2001:4830:134:3::10]:34412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZK6m6-0005bw-EN for qemu-devel@nongnu.org; Tue, 28 Jul 2015 11:26:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZK6m3-0007Oz-7d for qemu-devel@nongnu.org; Tue, 28 Jul 2015 11:26:38 -0400 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Programmingkid In-Reply-To: <20150728101832.GE32719@stefanha-thinkpad.redhat.com> Date: Tue, 28 Jul 2015 11:26:32 -0400 Content-Transfer-Encoding: 7bit Message-Id: References: <20150728101832.GE32719@stefanha-thinkpad.redhat.com> Subject: Re: [Qemu-devel] [PATCH] raw-posix.c: Make GetBSDPath() handle caching options List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Kevin Wolf , qemu-devel qemu-devel , Qemu-block On Jul 28, 2015, at 6:18 AM, Stefan Hajnoczi wrote: > On Mon, Jul 27, 2015 at 12:28:03PM -0400, Programmingkid wrote: >> Add support for caching options that can be specified from >> the command line. > > Please squash this into the commit message when merging: Is this message meant for Kevin Wolf? > > The CD-ROM raw char device bypasses the host page cache and therefore > has alignment requirements. Alignment probing is necessary so only use > the raw char device if BDRV_O_NOCACHE is set. > > This patch fixes -cdrom /dev/cdrom on Mac OS X hosts, where bdrv_read() > used to fail due to misaligned requests during image format probing. > > Reviewed-by: Stefan Hajnoczi