From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33132) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO8oK-0007Ox-H7 for qemu-devel@nongnu.org; Fri, 05 Apr 2013 11:44:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UO8oF-00056g-1U for qemu-devel@nongnu.org; Fri, 05 Apr 2013 11:44:16 -0400 Received: from mail.avalus.com ([2001:41c8:10:1dd::10]:43040) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO8oE-00055b-SJ for qemu-devel@nongnu.org; Fri, 05 Apr 2013 11:44:10 -0400 Date: Fri, 05 Apr 2013 16:43:52 +0100 From: Alex Bligh Message-ID: <889B9F24349667899BF0247D@nimrod.local> In-Reply-To: References: <1365157905-22987-1-git-send-email-alex@alex.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: [Qemu-devel] [PATCHv2 1/2] Xen PV backend: Move call to bdrv_new from blk_init to blk_connect Reply-To: Alex Bligh List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefano Stabellini Cc: Ian Campbell , Stefano Stabellini , George Dunlap , Ian Jackson , qemu-devel@nongnu.org, xen-devel , Anthony Liguori , Paolo Bonzini , Alex Bligh Stefano, --On 5 April 2013 15:22:16 +0100 Stefano Stabellini wrote: >> @@ -756,6 +753,41 @@ static int blk_init(struct XenDevice *xendev) >> info |= VDISK_CDROM; >> } >> >> + blkdev->file_blk = BLOCK_SIZE; > > This is useless, you are setting file_blk twice. Just remove this please. Actually the problem was I failed to remove it from blk_connect on the qemu-upstream-unstable patch set. The qemu-upstream-4.2 patch set is fine. I've thus resent, with it still in blk_init, but removed from blk_connect. -- Alex Bligh