[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] libxl: fix libxl_device_usbdev_list()
commit 74157a2f9886b55cd45714e58c80035bfe3e080c Author: Juergen Gross <jgross@xxxxxxxx> AuthorDate: Fri Sep 2 10:16:14 2016 +0200 Commit: Wei Liu <wei.liu2@xxxxxxxxxx> CommitDate: Fri Sep 2 09:54:42 2016 +0100 libxl: fix libxl_device_usbdev_list() Commit 03814de1d2ecdabedabceb8e728d934a632a43b9 ("libxl: Do not trust frontend for vusb") introduced an error in libxl_device_usbdev_list(). Fix it. Signed-off-by: Juergen Gross <jgross@xxxxxxxx> Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx> --- tools/libxl/libxl_pvusb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_pvusb.c b/tools/libxl/libxl_pvusb.c index 88e9ed4..75f7b8b 100644 --- a/tools/libxl/libxl_pvusb.c +++ b/tools/libxl/libxl_pvusb.c @@ -736,7 +736,7 @@ libxl_device_usbdev_list(libxl_ctx *ctx, uint32_t domid, int *num) *num = 0; libxl_vusbs_path = GCSPRINTF("%s/device/vusb", - libxl__xs_libxl_path(gc, !domid)); + libxl__xs_libxl_path(gc, domid)); usbctrls = libxl__xs_directory(gc, XBT_NULL, libxl_vusbs_path, &nc); for (i = 0; i < nc; i++) { -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |