mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 02:51:16 +00:00
Disable xm_internal on new xend
This commit is contained in:
parent
6a12fee135
commit
d3e661f745
@ -1,3 +1,8 @@
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user