libxl: fix disk listing function
PATCH 1/1 libxl: fix disk listing function
The path should be "vbd" not "disk".
Fixes fbbaf2cc9 ("libxl: change disk to use generic getting list functions").
Signed-off-by Wei Liu <[email protected]>
---
Cc: Jan Beulich <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Oleksandr Grytsov <[email protected]>
This should unblock staging.
--- tools/libxl/libxl_disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/libxl/libxl_disk.c +1 -1
@@ -628,7 +628,7 @@ libxl_device_disk *libxl_device_disk_list(libxl_ctx *ctx, uint32_t domid, int *nGC_INIT (ctx); - r =libxl__device_list (gc, &libxl__disk_devtype, domid,"disk" , num); + r =libxl__device_list (gc, &libxl__disk_devtype, domid,"vbd" , num);GC_FREE ;
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 6 lines · Wei Liu
The path should be "vbd" not "disk".
Fixes
fbbaf2cc9("libxl: change disk to use generic getting list functions").Signed-off-by Wei Liu <[email protected]>
Please ignore this. I will send a new one. This is missing one hunk. Sorry.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel