[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 05 of 16 RFC] blktap3: Don't check if blktap is available
Don't check if blktap is enabled since it will always be enabled (no blktap/blkback requirement anymore). diff -r bcb5a6182868 -r 57896068356d tools/libxl/libxl_blktap3.c --- a/tools/libxl/libxl_blktap3.c Wed Oct 24 17:25:02 2012 +0100 +++ b/tools/libxl/libxl_blktap3.c Wed Oct 24 17:25:12 2012 +0100 @@ -1,10 +1,6 @@ #include "libxl_osdeps.h" #include "libxl_internal.h" -int libxl__blktap_enabled(libxl__gc *gc) { - return 1; -} - int libxl__blktap_devpath(libxl__gc *gc, const char *disk, libxl_disk_format format) { return -ENOSYS; diff -r bcb5a6182868 -r 57896068356d tools/libxl/libxl_device.c --- a/tools/libxl/libxl_device.c Wed Oct 24 17:25:02 2012 +0100 +++ b/tools/libxl/libxl_device.c Wed Oct 24 17:25:12 2012 +0100 @@ -177,13 +177,6 @@ static int disk_try_backend(disk_try_bac case LIBXL_DISK_BACKEND_TAP: if (a->disk->script) goto bad_script; - - if (!libxl__blktap_enabled(a->gc)) { - LIBXL__LOG(ctx, LIBXL__LOG_DEBUG, "Disk vdev=%s, backend tap" - " unsuitable because blktap not available", - a->disk->vdev); - return 0; - } if (!(a->disk->format == LIBXL_DISK_FORMAT_RAW || a->disk->format == LIBXL_DISK_FORMAT_VHD)) { goto bad_format; _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |