[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 06 of 16 RFC] blktap3: Remove physical device creation for libxl
blktap3 doesn't need a device in dom0. diff -r 57896068356d -r 5a0b0e799ae8 tools/libxl/libxl.c --- a/tools/libxl/libxl.c Wed Oct 24 17:25:12 2012 +0100 +++ b/tools/libxl/libxl.c Wed Oct 24 17:25:26 2012 +0100 @@ -1818,7 +1818,6 @@ static void device_disk_add(libxl__egc * case LIBXL_DISK_BACKEND_PHY: dev = disk->pdev_path; - do_backend_phy: flexarray_append(back, "params"); flexarray_append(back, dev); @@ -1856,13 +1855,7 @@ static void device_disk_add(libxl__egc * flexarray_append(back, libxl__sprintf(gc, "%s:%s", libxl__device_disk_string_of_format(disk->format), disk->pdev_path)); - - /* tap backends with scripts are rejected by - * libxl__device_disk_set_backend */ - assert(!disk->script); - - /* now create a phy device to export the device to the guest */ - goto do_backend_phy; + break; case LIBXL_DISK_BACKEND_QDISK: flexarray_append(back, "params"); flexarray_append(back, libxl__sprintf(gc, "%s:%s", _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |