goto error;
}
- xch->fd = fd; /* Remove after transition to full xc_osdep_ops. */
-
return (xc_osdep_handle)fd;
error:
if ( fd == -1 )
return XC_OSDEP_OPEN_ERROR;
- xce->fd = fd; /* Remove after transition to full xc_osdep_ops. */
return (xc_osdep_handle)fd;
}
if ( fd == -1 )
return XC_OSDEP_OPEN_ERROR;
- xcg->fd = fd; /* Remove after transition to full xc_osdep_ops. */
return (xc_osdep_handle)fd;
}
if ( fd == -1)
return XC_OSDEP_OPEN_ERROR;
- xch->fd = fd; /* Remove after transition to full xc_osdep_ops. */
return (xc_osdep_handle)fd;
}
files[fd].evtchn.ports[i].bound = 0;
}
printf("evtchn_open() -> %d\n", fd);
- xce->fd = fd; /* Remove after transition to full xc_osdep_ops. */
return (xc_osdep_handle)fd;
}
if ( fd == -1 )
return XC_OSDEP_OPEN_ERROR;
gntmap_init(&files[fd].gntmap);
- xcg->fd = fd; /* Remove after transition to full xc_osdep_ops. */
return (xc_osdep_handle)fd;
}
goto error;
}
- xch->fd = fd; /* Remove after transition to full xc_osdep_ops. */
-
return (xc_osinteface_handle)fd;
error:
if ( fd == -1 )
return XC_OSDEP_OPEN_ERROR;
- xce->fd = fd; /* Remove after transition to full xc_osdep_ops. */
return (xc_osdep_handle)fd;
}
xch->type = type;
xch->flags = open_flags;
- xch->fd = -1;
xch->dombuild_logger_file = 0;
xc_clear_last_error(xch);
struct xc_interface_core {
enum xc_osdep_type type;
- int fd;
int flags;
xentoollog_logger *error_handler, *error_handler_tofree;
xentoollog_logger *dombuild_logger, *dombuild_logger_tofree;
goto error;
}
- xch->fd = fd; /* Remove after transition to full xc_osdep_ops. */
return (xc_osdep_handle)fd;
error:
return XC_OSDEP_OPEN_ERROR;
}
- xce->fd = fd; /* Remove after transition to full xc_osdep_ops. */
return (xc_osdep_handle)fd;
}