|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 3 of 3] blktap3/libxl: Handles blktap3 device in libxl
Thanos Makatos writes ("[Xen-devel] [PATCH 3 of 3] blktap3/libxl: Handles
blktap3 device in libxl"):
> Handling of blktap3 devices is similar to blktap2, except that libxl doesn't
> spawn the tapdisk and doesn't create the physical device in dom0.
...
> + case LIBXL_DISK_BACKEND_TAP3:
> + flexarray_append(back, "params");
> + flexarray_append(back, libxl__sprintf(gc, "%s:%s",
> + libxl__device_disk_string_of_format(disk->format),
> + disk->pdev_path));
> + break;
> case LIBXL_DISK_BACKEND_QDISK:
> flexarray_append(back, "params");
> flexarray_append(back, libxl__sprintf(gc, "%s:%s",
This seems to duplicate much of the entry for
LIBXL_DISK_BACKEND_QDISK. I think this could be profitably
reorganised to avoid clone-and-hack.
> diff -r dd63f2992e71 -r 6b54db4abe12 tools/libxl/libxl_device.c
> --- a/tools/libxl/libxl_device.c Fri Feb 08 17:23:25 2013 +0000
> +++ b/tools/libxl/libxl_device.c Fri Feb 08 17:23:26 2013 +0000
> @@ -190,6 +190,23 @@ static int disk_try_backend(disk_try_bac
> }
> return backend;
>
> + case LIBXL_DISK_BACKEND_TAP3:
> + /* TODO What's that script thing? */
> + if (a->disk->script) goto bad_script;
Is this series supposed to be an RFC ? It still has the odd TODO and
FIXME in it.
A disk script is an external script which arranges to provision a
block device for use by guests (and dom0). It's an alternative to
TAP3 so I think you can just delete the comment.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |