From: Jim Fehlig Date: Fri, 17 May 2013 15:17:03 +0000 (-0600) Subject: libxl: Report connect type as Xen X-Git-Tag: v1.1.0-rc1~99 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47d14c3791dc185f82364845f10af2f9024c47eb;p=thirdparty%2Flibvirt.git libxl: Report connect type as Xen Currently, the libxl driver reports a connection type of "xenlight". To be compatible with the legacy Xen driver, it should return "Xen". Note: I noticed this while testing the libxl driver on OpenStack. After switching my Xen compute nodes to use the libxl stack, I could no longer launch instances on those nodes since hypervisor_type was reported as "xenlight" instead of "xen". --- diff --git a/src/libxl/libxl_driver.c b/src/libxl/libxl_driver.c index 3990354f81..935919b153 100644 --- a/src/libxl/libxl_driver.c +++ b/src/libxl/libxl_driver.c @@ -1405,7 +1405,7 @@ libxlConnectClose(virConnectPtr conn ATTRIBUTE_UNUSED) static const char * libxlConnectGetType(virConnectPtr conn ATTRIBUTE_UNUSED) { - return "xenlight"; + return "Xen"; } static int