debuggers.hg
changeset 22711:e18d9af29d2a
libxl: Lists qdisk device in libxl_device_disk_list
As libxl switch to qdisk when blktap isn't available, this patch makes
libxl_device_disk_list also list qdisk device. So
libxl_build_device_model_args_new will be able to add qdisk device to
the command line options of Qemu.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
As libxl switch to qdisk when blktap isn't available, this patch makes
libxl_device_disk_list also list qdisk device. So
libxl_build_device_model_args_new will be able to add qdisk device to
the command line options of Qemu.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
author | Anthony PERARD <anthony.perard@citrix.com> |
---|---|
date | Thu Jan 06 18:04:48 2011 +0000 (2011-01-06) |
parents | 2c487c02d8d7 |
children | cb756381087c |
files | tools/libxl/libxl.c |
line diff
1.1 --- a/tools/libxl/libxl.c Thu Jan 06 18:03:11 2011 +0000 1.2 +++ b/tools/libxl/libxl.c Thu Jan 06 18:04:48 2011 +0000 1.3 @@ -2549,6 +2549,7 @@ libxl_device_disk *libxl_device_disk_lis 1.4 1.5 *num = libxl_append_disk_list_of_type(ctx, domid, "vbd", &disks, &ndisks); 1.6 *num += libxl_append_disk_list_of_type(ctx, domid, "tap", &disks, &ndisks); 1.7 + *num += libxl_append_disk_list_of_type(ctx, domid, "qdisk", &disks, &ndisks); 1.8 1.9 return disks; 1.10 }