/* Event channel port */
evtchn_port_t port;
- /* The remote end of the event channel, used only to validate
- repeated domain introductions. */
- evtchn_port_t remote_port;
-
/* Domain path in store. */
char *path;
domain->conn->domain = domain;
domain->conn->id = domain->domid;
- domain->remote_port = port;
domain->nbentry = 0;
domain->nbwatch = 0;
xenevtchn_unbind(xce_handle, domain->port);
rc = xenevtchn_bind_interdomain(xce_handle, domid, port);
domain->port = (rc == -1) ? 0 : rc;
- domain->remote_port = port;
}
domain_conn_reset(domain);
return conn->domain->path;
}
-/* Restore existing connections. */
-void restore_existing_connections(void)
-{
-}
-
static int set_dom_perms_default(struct node_perms *perms)
{
perms->num = 1;
/* Returns the implicit path of a connection (only domains have this) */
const char *get_implicit_path(const struct connection *conn);
-/* Read existing connection information from store. */
-void restore_existing_connections(void);
-
/* Can connection attached to domain read/write. */
bool domain_can_read(struct connection *conn);
bool domain_can_write(struct connection *conn);