All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libxl: prefer qdisk over blktap when choosing disk backend
@ 2013-08-27 14:22 Wei Liu
  2013-08-28  9:15 ` Wei Liu
  0 siblings, 1 reply; 14+ messages in thread
From: Wei Liu @ 2013-08-27 14:22 UTC (permalink / raw)
  To: xen-devel; +Cc: Wei Liu

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@citrix.com>
---
 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

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2013-09-03 16:32 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-27 14:22 [PATCH] libxl: prefer qdisk over blktap when choosing disk backend Wei Liu
2013-08-28  9:15 ` Wei Liu
2013-08-28 10:35   ` Ian Jackson
2013-08-28 10:51     ` Wei Liu
2013-08-28 10:59     ` George Dunlap
2013-08-28 11:53       ` Fabio Fantoni
2013-08-28 12:46         ` Wei Liu
2013-08-28 13:04         ` Ian Jackson
2013-08-28 13:16           ` Fabio Fantoni
2013-08-28 13:35             ` Wei Liu
2013-08-28 13:41               ` Wei Liu
2013-08-28 15:04                 ` Roger Pau Monné
2013-08-28 15:22                   ` Wei Liu
2013-09-03 16:32           ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.