提交 d3e661f7 编写于 作者: D Daniel P. Berrange

Disable xm_internal on new xend

上级 6a12fee1
Wed May 2 12:16:35 EST 2007 Daniel P. Berrange <berrange@redhat.com>
* src/xen_unified.c: Disable xm_internal.c driver on Xen
newer than 3.0.3
Wed May 2 11:50:35 EST 2007 Daniel P. Berrange <berrange@redhat.com>
* qemud/qemud.c: Use --strict-order when running dnsmasq
......
......@@ -111,6 +111,11 @@ xenUnifiedOpen (virConnectPtr conn, const char *name, int flags)
for (i = 0; i < XEN_UNIFIED_NR_DRIVERS; ++i) {
priv->opened[i] = 0;
/* Only use XM driver for Xen <= 3.0.3 (ie xendConfigVersion <= 2) */
if (drivers[i] == &xenXMDriver &&
priv->xendConfigVersion > 2)
continue;
/* Ignore proxy for root */
if (i == proxy_offset && getuid() == 0)
continue;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册