search for: log_hv_fd

Displaying 3 results from an estimated 3 matches for "log_hv_fd".

2012 Dec 13
3
[PATCH] xenconsoled: use grant references instead of map_foreign_range
...100644 --- a/tools/console/daemon/io.c +++ b/tools/console/daemon/io.c @@ -24,6 +24,7 @@ #include "io.h" #include <xenstore.h> #include <xen/io/console.h> +#include <xen/grant_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_handl...
2013 Jan 03
20
[PATCH] Switch to poll in xenconsoled's io loop.
The original implementation utilies select(). In Linux select() typically supports up to 1024 file descriptors. This can be a problem when user tries to boot up many guests. Switching to poll() has minimum impact on existing code and has better scalibility. Up to 8192 file descriptors are supported in the current implementation. Signed-off-by: Wei Liu <wei.liu2@citrix.com> ---
2013 Jan 10
10
[PATCH v2 1/2] xenconsoled: use grant references instead of map_foreign_range
...100644 --- a/tools/console/daemon/io.c +++ b/tools/console/daemon/io.c @@ -24,6 +24,7 @@ #include "io.h" #include <xenstore.h> #include <xen/io/console.h> +#include <xen/grant_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_handl...