From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: [PATCH 7/9] libxl: disks: allow specification of "backendtype=phy|tap|qdisk" Date: Thu, 2 Jun 2011 18:55:44 +0100 Message-ID: <1307037346-31251-8-git-send-email-ian.jackson@eu.citrix.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> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <1307037346-31251-7-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: xen-devel@lists.xensource.com Cc: Ian Jackson , Ian Jackson List-Id: xen-devel@lists.xenproject.org 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. + + script=