From: Ian Campbell Subject: Re: [PATCH 7/9] libxl: disks: allow specification of "backendtype=phy|tap|qdisk" Date: Fri, 3 Jun 2011 11:27:01 +0100 Message-ID: <1307096821.775.352.camel@zakaz.uk.xensource.com> References: <1307037346-31251-1-git-send-email-ian.jackson@eu.citrix.com> <1307037346-31251-2-git-send-email-ian.jackson@eu.citrix.com> <1307037346-31251-3-git-send-email-ian.jackson@eu.citrix.com> <1307037346-31251-4-git-send-email-ian.jackson@eu.citrix.com> <1307037346-31251-5-git-send-email-ian.jackson@eu.citrix.com> <1307037346-31251-6-git-send-email-ian.jackson@eu.citrix.com> <1307037346-31251-7-git-send-email-ian.jackson@eu.citrix.com> <1307037346-31251-8-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1307037346-31251-8-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Thu, 2011-06-02 at 18:55 +0100, Ian Jackson wrote: > Signed-off-by: Ian Jackson > --- > docs/misc/xl-disk-configuration.txt | 17 + > tools/libxl/libxlu_disk_l.c | 690 +++++++++++++++++++---------------- > tools/libxl/libxlu_disk_l.h | 2 +- > tools/libxl/libxlu_disk_l.l | 9 + > 4 files changed, 395 insertions(+), 323 deletions(-) > > diff --git a/docs/misc/xl-disk-configuration.txt b/docs/misc/xl-disk-configuration.txt > index de0a75e..91e0cc7 100644 > --- a/docs/misc/xl-disk-configuration.txt > +++ b/docs/misc/xl-disk-configuration.txt > @@ -139,6 +139,23 @@ cdrom > Convenience alias for "devtype=cdrom". > > > +backendtype= > +-------------------------- > + > +Description: Specifies the backend implementation to use > +Supported values: phy, tap, qdisk > +Mandatory: No > +Default value: Automatically determine which backend to use. > + > +This does not affect the guest's view of the device. It controls > +which software implementation of the Xen backend driver us used. > + > +Not all backend drivers support all combinations of other options. > +For example, "phy" does not support formats other than "raw". > +Normally this option should not be specified, in which case libxl will > +automatically determine the most suitable backend. The deprecated prefixes ("tapdisk:", "phy:" etc) are explicitly not aliases for any of these, right? In any case... Acked-by: Ian Campbell Not really related to this patch but it occurs to me that there probably ought to be backend types for the non-Linux dom0, e.g. *BSD backendd. Ian. > + > + > script=