[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] libxl: prefer qdisk over blktap when choosing disk backend



CCing IanJ and Stefano (forgot to do this when sending the patch)...

On Tue, Aug 27, 2013 at 03:22:43PM +0100, Wei Liu wrote:
> There are some disk formats commonly supported by both qdisk and blktap.
> As qdisk is better supported and blktap is unmaintained, we choose qdisk
> over blktap whenever possible.
> 
> Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
> ---
>  tools/libxl/libxl_device.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tools/libxl/libxl_device.c b/tools/libxl/libxl_device.c
> index ea845b7..16a92a4 100644
> --- a/tools/libxl/libxl_device.c
> +++ b/tools/libxl/libxl_device.c
> @@ -288,8 +288,8 @@ int libxl__device_disk_set_backend(libxl__gc *gc, 
> libxl_device_disk *disk) {
>      } else {
>          ok=
>              disk_try_backend(&a, LIBXL_DISK_BACKEND_PHY) ?:
> -            disk_try_backend(&a, LIBXL_DISK_BACKEND_TAP) ?:
> -            disk_try_backend(&a, LIBXL_DISK_BACKEND_QDISK);
> +            disk_try_backend(&a, LIBXL_DISK_BACKEND_QDISK) ?:
> +            disk_try_backend(&a, LIBXL_DISK_BACKEND_TAP);
>          if (ok)
>              LIBXL__LOG(ctx, LIBXL__LOG_DEBUG, "Disk vdev=%s, using backend 
> %s",
>                         disk->vdev,
> -- 
> 1.7.10.4

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.