Displaying 4 results from an estimated 4 matches for "xcg".
Did you mean:
xchg
2013 Apr 26
14
bug in xc_gntshr_munmap?
Hi,
Header says:
/*
* Unmaps the @count pages starting at @start_address, which were mapped by a
* call to xc_gntshr_share_*. Never logs.
*/
int xc_gntshr_munmap(xc_gntshr *xcg, void *start_address, uint32_t count);
But implementation calls:
static int linux_gntshr_munmap(xc_gntshr *xcg, xc_osdep_handle h,
void *start_address, uint32_t count)
{
return munmap(start_address, count);
}
munmap(2) expect second argument to be size of mapped...
2012 Dec 13
3
[PATCH] xenconsoled: use grant references instead of map_foreign_range
...ant_table.h>
#include <stdlib.h>
#include <errno.h>
@@ -69,6 +70,7 @@ static int log_hv_fd = -1;
static evtchn_port_or_error_t log_hv_evtchn = -1;
static xc_interface *xch; /* why does xenconsoled have two xc handles ? */
static xc_evtchn *xce_handle = NULL;
+static xc_gnttab *xcg_handle = NULL;
struct buffer {
char *data;
@@ -501,6 +503,17 @@ static int xs_gather(struct xs_handle *xs, const char *dir, ...)
va_end(ap);
return ret;
}
+
+static void domain_unmap_interface(struct domain *dom)
+{
+ if (dom->interface == NULL)
+ return;
+ if (xcg_handle && d...
2013 Jan 10
10
[PATCH v2 1/2] xenconsoled: use grant references instead of map_foreign_range
...ant_table.h>
#include <stdlib.h>
#include <errno.h>
@@ -69,6 +70,7 @@ static int log_hv_fd = -1;
static evtchn_port_or_error_t log_hv_evtchn = -1;
static xc_interface *xch; /* why does xenconsoled have two xc handles ? */
static xc_evtchn *xce_handle = NULL;
+static xc_gnttab *xcg_handle = NULL;
struct buffer {
char *data;
@@ -501,6 +503,18 @@ static int xs_gather(struct xs_handle *xs, const char *dir, ...)
va_end(ap);
return ret;
}
+
+static void domain_unmap_interface(struct domain *dom)
+{
+ if (dom->interface == NULL)
+ return;
+ if (xcg_handle && d...
2008 Apr 07
10
setting environment variables
Hi all,
I''m running Puppet on FreeBSD and recently I started building my own
packages. I would like to set the PKGROOT variable on all hosts so
that packages are fetched from my server instead of freebsd.org. Is
it possible to set this with puppet?
I''ve read the suggestion on Trac [1], and it solves the problem when
puppet is run with an rc script, but it won''t work