diff mbox

libxl: fix disk listing function

Message ID 20170914153333.29739-1-wei.liu2@citrix.com (mailing list archive)
State New, archived
Headers show

Commit Message

Wei Liu Sept. 14, 2017, 3:33 p.m. UTC
The path should be "vbd" not "disk".

Fixes fbbaf2cc9 ("libxl: change disk to use generic getting list
functions").

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
Cc: Jan Beulich <jbeulich@suse.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Oleksandr Grytsov <oleksandr_grytsov@epam.com>

This should unblock staging.
---
 tools/libxl/libxl_disk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Wei Liu Sept. 14, 2017, 3:35 p.m. UTC | #1
On Thu, Sep 14, 2017 at 04:33:33PM +0100, Wei Liu wrote:
> The path should be "vbd" not "disk".
> 
> Fixes fbbaf2cc9 ("libxl: change disk to use generic getting list
> functions").
> 
> Signed-off-by: Wei Liu <wei.liu2@citrix.com>

Please ignore this. I will send a new one. This is missing one hunk.
Sorry.
diff mbox

Patch

diff --git a/tools/libxl/libxl_disk.c b/tools/libxl/libxl_disk.c
index cfa5e8ae69..e7a955b32c 100644
--- a/tools/libxl/libxl_disk.c
+++ b/tools/libxl/libxl_disk.c
@@ -628,7 +628,7 @@  libxl_device_disk *libxl_device_disk_list(libxl_ctx *ctx, uint32_t domid, int *n
 
     GC_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;