From: Wei Liu Subject: Re: [PATCH resend] libxl, hotplug/Linux: default to phy backend for raw format file, take 2 Date: Fri, 9 Jan 2015 14:42:33 +0000 Message-ID: <20150109144233.GB32179@zion.uk.xensource.com> References: <1420724813-17920-1-git-send-email-wei.liu2@citrix.com> <54AE952D.70304@m2r.biz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <54AE952D.70304@m2r.biz> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Fabio Fantoni Cc: Wei Liu , Ian Campbell , Stefano Stabellini , Ian Jackson , xen-devel@lists.xen.org, Roger Pau =?iso-8859-1?Q?Monn=E9?= List-Id: xen-devel@lists.xenproject.org On Thu, Jan 08, 2015 at 03:33:17PM +0100, Fabio Fantoni wrote: > Il 08/01/2015 14:46, Wei Liu ha scritto: > >This patch resurrects 11a63a166. The previous patch had a bug that > >wrong "physical-device" was written to xenstore causing block script > >execution fail. This patch fixes that problem. > > > >Following configurations have been tested: > > > >1. Raw file and PV > >2. Raw file and HVM > >3. Block device and PV > >4. Block device and HVM > > > >Creation / destruction / local migration all worked. > > > >Original commit message from 11a63a166: > > > >Modify libxl and hotplug script to allow raw format file to use phy > >backend. > > > >The block script now tests the path and determine the actual type of > >file (block device or regular file) then use the actual type to > >determine which branch to run. > > > >With these changes, plus the current ordering of backend preference (phy > >>qdisk > tap), we will use phy backend for raw format file by default. > > Sorry for the probably stupid question, what are the pros and cons of > default use of phy instead qdisk for raw files as domU disk? > There's no stupid question. :-) I was told that it performs better and enables other potential improvements. Wei.