Displaying 2 results from an estimated 2 matches for "xenaccess_init".
2012 Apr 24
1
[PATCH] [resend] xen-access: Check return values and clean up on errors during init
...osing connection to xen");
+ }
+ xenaccess->xc_handle = NULL;
+
+ if ( xenaccess->platform_info )
+ free(xenaccess->platform_info);
+ if ( xenaccess->domain_info )
+ free(xenaccess->domain_info);
+ free(xenaccess);
+
+ return 0;
+}
+
xenaccess_t *xenaccess_init(xc_interface **xch_r, domid_t domain_id)
{
- xenaccess_t *xenaccess;
+ xenaccess_t *xenaccess = 0;
xc_interface *xch;
int rc;
unsigned long ring_pfn, mmap_pfn;
@@ -242,6 +303,7 @@ xenaccess_t *xenaccess_init(xc_interface
}
goto err;
}
+ mem_access_ena...
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