Hello, The following set of patches came about when trying to fix the 32K limitation with stub_xc_readconsolering() in the ocaml bindings. Patch 1 is a hypervisor patch adding a new SYSCTL hypercall to query the size of the console ring, which is fixed but otherwise inaccessible after boot. Patches 2 thru 5 are tools patches: * Patch 2 adds a libxc function to use the new SYSCTL hypercall. * Patch 3 implements an alternative xc_readconsolering() to prevent bounce buffering. * Patch 4 uses the preceding patches to fix the implementation of stub_xc_readconsolering() in the ocaml bindings. * Patch 5 is a misc threading fix in the ocaml bindings, discovered when trying to fix the console functionality. CC''d is xen-api@lists.xen.org as well, for comment on the ocaml patches. This patch set has been compile-tested on unstable, and functionally tested via backport to 4.2 (which was only one whitespace fuzz issue and no code change). Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Andrew Cooper
2013-Mar-07 12:35 UTC
Re: [PATCH 0 of 5 v2] Tools: Console ring improvements
Ping? On 21/02/13 15:46, Andrew Cooper wrote:> Hello, > > The following set of patches came about when trying to fix the 32K limitation > with stub_xc_readconsolering() in the ocaml bindings. > > Patch 1 is a hypervisor patch adding a new SYSCTL hypercall to query the size > of the console ring, which is fixed but otherwise inaccessible after boot. > > Patches 2 thru 5 are tools patches: > * Patch 2 adds a libxc function to use the new SYSCTL hypercall. > * Patch 3 implements an alternative xc_readconsolering() to prevent bounce > buffering. > * Patch 4 uses the preceding patches to fix the implementation of > stub_xc_readconsolering() in the ocaml bindings. > * Patch 5 is a misc threading fix in the ocaml bindings, discovered when > trying to fix the console functionality. > > CC''d is xen-api@lists.xen.org as well, for comment on the ocaml patches. > > This patch set has been compile-tested on unstable, and functionally tested > via backport to 4.2 (which was only one whitespace fuzz issue and no code > change). > > Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel
On Thu, 2013-02-21 at 15:46 +0000, Andrew Cooper wrote:> Hello, > > The following set of patches came about when trying to fix the 32K limitation > with stub_xc_readconsolering() in the ocaml bindings.Anyone on xen-api@ want to comment on the ocaml binding aspects of this series? [...]> CC''d is xen-api@lists.xen.org as well, for comment on the ocaml patches.Ian.