Displaying 1 result from an estimated 1 matches for "xcefd".
2008 Sep 05
0
[PATCH] Janitorial work on xc_save.c
...c < 0) {
- errx(1, "failed to subscribe to domain: %d", rc);
+ warnx("failed to subscribe to domain: %d", rc);
goto cleanup;
}
@@ -118,27 +117,25 @@
* receive the acknowledgement from the subscribe event channel. */
static int evtchn_suspend(int domid)
{
- int xcefd;
int rc;
rc = xc_evtchn_notify(si.xce, si.suspend_evtchn);
if (rc < 0) {
- errx(1, "failed to notify suspend request channel: %d", rc);
+ warnx("failed to notify suspend request channel: %d", rc);
return 0;
}
- xcefd = xc_evtchn_fd(si.xce);
d...