Displaying 2 results from an estimated 2 matches for "xenaccess_t".
Did you mean:
xenaccess
2012 Apr 24
1
[PATCH] [resend] xen-access: Check return values and clean up on errors during init
...n-access.c Tue Apr 24 10:01:59 2012 -0700
@@ -29,6 +29,7 @@
#include <inttypes.h>
#include <stdlib.h>
#include <stdarg.h>
+#include <stdbool.h>
#include <time.h>
#include <signal.h>
#include <unistd.h>
@@ -120,6 +121,7 @@ typedef struct xenaccess {
} xenaccess_t;
static int interrupted;
+bool evtchn_bind = 0, evtchn_open = 0, mem_access_enable = 0;
static void close_handler(int sig)
{
@@ -167,9 +169,68 @@ int xc_wait_for_event_or_timeout(xc_inte
return -errno;
}
+int xenaccess_teardown(xc_interface *xch, xenaccess_t *xenaccess)
+{
+ int r...
2011 Sep 08
5
[PATCH 0 of 2] v2: memshare/xenpaging/xen-access fixes for xen-unstable
The following two patches allow the parallel use of memsharing, xenpaging and
xen-access by using an independent ring buffer for each feature.
Please review.
v2:
- update mem_event_check_ring arguments, check domain rather than domain_id
- check ring_full first because its value was just evaluated
- check if ring buffer is initialized before calling
mem_access_domctl/mem_paging_domctl