+Thu Jul 5 09:46:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
+
+ * src/remote_internal.c: Fixed typo in setting flags for network
+ opening.
+
Wed Jul 4 14:17:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* src/xm_internal.c: configCache not getting refilled if the
error (NULL, VIR_ERR_NO_MEMORY, "struct private_data");
return VIR_DRV_OPEN_ERROR;
}
-
if (flags & VIR_DRV_OPEN_RO)
rflags |= VIR_DRV_OPEN_REMOTE_RO;
/* Xen driver is a single system-wide driver, so
* user, so use the per-user daemon, potentially
* autostarting
*/
- flags |= VIR_DRV_OPEN_REMOTE_UNIX;
+ rflags |= VIR_DRV_OPEN_REMOTE_UNIX;
if (getuid() > 0 &&
!strcmp(conn->driver->name, "test")) {
- flags |= VIR_DRV_OPEN_REMOTE_USER;
- flags |= VIR_DRV_OPEN_REMOTE_AUTOSTART;
+ rflags |= VIR_DRV_OPEN_REMOTE_USER;
+ rflags |= VIR_DRV_OPEN_REMOTE_AUTOSTART;
}
memset(priv, 0, sizeof(struct private_data));