|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] libxl: do not try to use blktap with qdis
# HG changeset patch
# User Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
# Date 1299867743 0
# Node ID a8fee4ad3ad0650e7a5cc0fb253c6a0ada1ac583
# Parent 93c63adf348622a1d94e6dba4666a1e3d1efc9d4
libxl: do not try to use blktap with qdisk
libxl_device_disk_add tries to use blktap when available even for qdisk
devices, this patch fixes it.
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
diff -r 93c63adf3486 -r a8fee4ad3ad0 tools/libxl/libxl.c
--- a/tools/libxl/libxl.c Fri Mar 11 18:21:17 2011 +0000
+++ b/tools/libxl/libxl.c Fri Mar 11 18:22:23 2011 +0000
@@ -966,7 +966,6 @@
device.backend_kind = DEVICE_VBD;
break;
case DISK_BACKEND_TAP:
- case DISK_BACKEND_QDISK:
if (libxl__blktap_enabled(&gc) && disk->format !=
DISK_FORMAT_EMPTY) {
const char *dev = libxl__blktap_devpath(&gc,
disk->pdev_path, disk->format);
@@ -988,6 +987,7 @@
break;
}
+ case DISK_BACKEND_QDISK:
flexarray_append(back, "params");
flexarray_append(back, libxl__sprintf(&gc, "%s:%s",
libxl__device_disk_string_of_format(disk->format),
disk->pdev_path));
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] libxl: do not try to use blktap with qdisk,
Xen patchbot-unstable <=
|
|
|
|
|