|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-4.1-testing] libxl: do not try to use blktap with q
# HG changeset patch
# User Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
# Date 1299868515 0
# Node ID 4f5534517e080fcdcf24049fbf2ef33210bacb7d
# Parent 0cd188ac8961e314656708e83ffdc7fa39aa7efd
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>
(cherry-picked from xen-unstable
changeset a8fee4ad3ad0650e7a5cc0fb253c6a0ada1ac583)
---
diff -r 0cd188ac8961 -r 4f5534517e08 tools/libxl/libxl.c
--- a/tools/libxl/libxl.c Fri Mar 11 17:33:30 2011 +0000
+++ b/tools/libxl/libxl.c Fri Mar 11 18:35:15 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-4.1-testing] libxl: do not try to use blktap with qdisk,
Xen patchbot-4 . 1-testing <=
|
|
|
|
|