[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen stable-4.7] libxl: fix libxl_device_usbdev_list()
commit 0e22f2974d0c83fce657b4e02661a3ce36e0cb33 Author: Juergen Gross <jgross@xxxxxxxx> AuthorDate: Fri Sep 2 10:16:14 2016 +0200 Commit: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> CommitDate: Mon Sep 19 15:38:49 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> (cherry picked from commit 74157a2f9886b55cd45714e58c80035bfe3e080c) --- 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 885f0d4..831eb50 100644 --- a/tools/libxl/libxl_pvusb.c +++ b/tools/libxl/libxl_pvusb.c @@ -732,7 +732,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#stable-4.7 _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |