From: Wei Liu Subject: Re: [PATCH] libxl: prefer qdisk over blktap when choosing disk backend Date: Wed, 28 Aug 2013 16:22:31 +0100 Message-ID: <20130828152231.GK15729@zion.uk.xensource.com> References: <1377613363-5582-1-git-send-email-wei.liu2@citrix.com> <20130828091538.GD15729@zion.uk.xensource.com> <21021.53894.805398.918930@mariner.uk.xensource.com> <521DE4BB.9010404@m2r.biz> <21021.62804.505685.545182@mariner.uk.xensource.com> <521DF827.4000800@m2r.biz> <20130828133556.GH15729@zion.uk.xensource.com> <20130828134113.GI15729@zion.uk.xensource.com> <521E1167.40404@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VEhZz-00078G-JH for xen-devel@lists.xenproject.org; Wed, 28 Aug 2013 15:22:43 +0000 Content-Disposition: inline In-Reply-To: <521E1167.40404@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roger Pau =?iso-8859-1?Q?Monn=E9?= Cc: Wei Liu , Stefano Stabellini , George Dunlap , Ian Jackson , Fabio Fantoni , xen-devel List-Id: xen-devel@lists.xenproject.org On Wed, Aug 28, 2013 at 05:04:07PM +0200, Roger Pau Monn=E9 wrote: > On 28/08/13 15:41, Wei Liu wrote: > > On Wed, Aug 28, 2013 at 02:35:56PM +0100, Wei Liu wrote: > >> On Wed, Aug 28, 2013 at 03:16:23PM +0200, Fabio Fantoni wrote: > >>> Il 28/08/2013 15:04, Ian Jackson ha scritto: > >>>> Fabio Fantoni writes ("Re: [Xen-devel] [PATCH] libxl: prefer qdisk o= ver blktap when choosing disk backend"): > >>>>> I think is good prefer qdisk also for significant performance incre= ase > >>>>> in comparison with blktap2. > >>>> Thanks, that's useful information. That, and what George said, have > >>>> convinced me this is the right change. > >>>> > >>>> Acked-by: Ian Jackson > >>> > >>> What about qemu traditional with this patch? > >>> I haven't tested qdisk with qemu traditional but unfortunately > >>> qemu-trad. is still widely used and therefore you have to be sure > >>> that does not cause problems. > >> > >> Ah, now I get your question. > >> > >>> I asked about because devices parts seem the same with both qemu but > >>> I not sure about it. > >> > >> We've already switched to qemu-upstream in 4.3. And this patch is not > >> backport material so old system would just work fine IMHO. > >> > >> The only risk of breakage is: users have device_model_version set to > >> qemu-trad and run blktap kernel with Xen pre-4.3, then upgrade to Xen > >> post-4.3 (with this patch). I've tested that, and qemu-trad runs fine > >> for me -- at least it boots and dd works well. > >> > > = > > I didn't have a VHD image (format commonly supported by blktap and qemu) > > at hand so the test was not complete. But qemu-trad and qemu-xen are > > both maintained so even if it breaks we are able to fix them -- which is > > main point of this patch, to let users have better supported backend. > = > I might be completely wrong, but wasn't there a problem when using > blktap VHD images with Qemu (ie VHD images created with blktap weren't > copatible with VHD Qemu implementation)? Do you mean that timestamp bug in libvhd [0]? Oh that's not fixed in OSS Xen. Ian, do you think it is necessary to have [1] ported to OSS Xen? Then there's all the old images needed to be converted. However this is a necessary step sooner or later if users migrate these images to newer Xen + newer kernel which don't have blktap anymore. Wei. [0] http://lists.xen.org/archives/html/xen-devel/2013-02/msg01326.html [1] https://github.com/xapi-project/blktap/commit/a79ac2c05f97c2384bbf98141= 9f329f184dc646a