Displaying 2 results from an estimated 2 matches for "linux_gnttab_grant_map".
2012 May 11
2
[PATCH] libxc: implement gnttab.set_max_grants for Linux
...#39;'t implement this IOCTL,
+ * so ignore the resulting specific failure.
+ */
+ if (errno == ENOTTY)
+ rc = 0;
+ else
+ PERROR("linux_gnttab_set_max_grants: ioctl SET_MAX_GRANTS failed");
+ }
+
+ return rc;
+}
+
static void *linux_gnttab_grant_map(xc_gnttab *xch, xc_osdep_handle h,
uint32_t count, int flags, int prot,
uint32_t *domids, uint32_t *refs,
@@ -680,6 +701,7 @@ static struct xc_osdep_ops linux_gnttab_
.close = &linux_gnttab_close,
.u.gnttab =...
2011 Nov 08
48
Need help with fixing the Xen waitqueue feature
The patch ''mem_event: use wait queue when ring is full'' I just sent out
makes use of the waitqueue feature. There are two issues I get with the
change applied:
I think I got the logic right, and in my testing vcpu->pause_count drops
to zero in p2m_mem_paging_resume(). But for some reason the vcpu does
not make progress after the first wakeup. In my debugging there is one