[Xen-devel] [PATCH RFC 04/59] Controller: Move process worker into its own file

2016-12-28 Thread Ronald Rojas
From: George Dunlap Also fix Makefile rule to use correct automatic variable. Signed-off-by: George Dunlap --- Makefile | 4 ++-- main.go | 59 -- processworker.go | 66 3

[Xen-devel] [PATCH RFC 08/59] controller: Exit after second SIGINT

2016-12-28 Thread Ronald Rojas
From: George Dunlap Otherwise you have to kill -9 the process. Signed-off-by: George Dunlap --- main.go | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 04c8467..dbd6276 100644 --- a/main.go +++ b/main.go @@ -62,6 +62,8 @@ func (ws *Wo

[Xen-devel] [PATCH RFC 02/59] controller: Revamp communication structure

2016-12-28 Thread Ronald Rojas
From: George Dunlap Two general-purporse channels rather than one per worker. Set up two workers, gather and collate the information at the central station. Have the worker print out a report at start-of-day, so we get timing information for the first actual report. Catch SIGINT as a shorthand

[Xen-devel] [PATCH RFC 06/59] Reorganize to enable "Dist" directory

2016-12-28 Thread Ronald Rojas
From: George Dunlap Make a toplevel Makefile which defaults to 'make dist'. Add "make dist" targets in all subdirs, which copy the distribution files into $PWD/dist. Modify processworker.go such that it looks for worker-proc in the same directory. Signed-off-by: George Dunlap --- Makefile

[Xen-devel] [PATCH RFC 01/59] Initial controller framework

2016-12-28 Thread Ronald Rojas
From: George Dunlap Go code to execute a worker and parse its output. The go json marshaller needs capitalized structure elements; make the output match. Also add fflush()-es to make sure that output actually gets to the controller in a timely manner. Signed-off-by: George Dunlap --- Makefil

[Xen-devel] (no subject)

2016-12-28 Thread Ronald Rojas
The first 57 commits are merged from previous work done by George Dunlap at (https://github.com/gwd/schedbench) and implement manipulating Cpu pool. The last 2 commits merge his work onto the Xen tree and implement finding system information and throwing errors. CC: xen-devel CC: Ian Jackson

[Xen-devel] [PATCH RFC] tools/xenlight: Create xenlight Makefile

2016-12-22 Thread Ronald Rojas
Create a basic Makefile to build and install libxenlight Golang bindings. Also add a stub package. --- Eventually this patch will contain the actual bindings package; for now it just includes a stub package. To Do: - Have configure detect golang bindings properly CC: xen-devel CC: Ian Jackson

Re: [Xen-devel] [PATCH RFC] tools/xenlight: Create xenlight Makefile

2016-12-21 Thread Ronald Rojas
On Fri, Dec 16, 2016 at 12:27:31PM +0800, George Dunlap wrote: > On Fri, Dec 16, 2016 at 7:20 AM, Ronald Rojas wrote: > > Create a basic Makefile to build and install libxenlight Golang > > bindings. Also add a template. > > What's this template again? I use 't

[Xen-devel] [PATCH RFC] tools/xenlight: Create xenlight Makefile

2016-12-15 Thread Ronald Rojas
Create a basic Makefile to build and install libxenlight Golang bindings. Also add a template. --- Eventually this patch will contain the actual bindings package; for now it just includes a stub package. To Do: - Have configure detect golang bindings properly CC: xen-devel CC: Ian Jackson CC

Re: [Xen-devel] [PATCH RFC] tools/xenlight: Create xenlight Makefile

2016-12-01 Thread Ronald Rojas
On Wed, Nov 30, 2016 at 12:30:04PM +1100, George Dunlap wrote: > On Tue, Nov 29, 2016 at 4:18 AM, Ronald Rojas wrote: > > Created basic Makfele for the Golang xenlight > > project so that the project is built and > > installed. A template template is alo added. > >

[Xen-devel] [PATCH RFC] tools/xenlight: Create xenlight Makefile

2016-11-28 Thread Ronald Rojas
Created basic Makfele for the Golang xenlight project so that the project is built and installed. A template template is alo added. --- tools/Makefile| 15 +++ tools/golang/xenlight/Makefile| 29 + tools/golang/xenlight/xenlight.go |

[Xen-devel] (no subject)

2016-11-28 Thread Ronald Rojas
Create a Makefile for the golang xenlight project, which will allow users to access libxl functionality in Golang. Makefile rules were also added to tools/Makefile for the project to be built and installed. A template Golang file was also created for the project to be properly built.

Re: [Xen-devel] Outreachy golang bindings planning

2016-11-14 Thread Ronald Rojas
Once the internship is over I think I will try to complete my project andd try to contribute to xen in other areas as well. Feel free to paraphase what I wrote or let me know if you need more information. Ronald Rojas > > > On 17 Oct 2016, at 18:15, Ronald Rojas wrote: > >

Re: [Xen-devel] Outreachy golang bindings planning

2016-10-17 Thread Ronald Rojas
inalizing the application and the project timeline. Then in two weeks I will have the time to do some more work, like creating the Makefile for the golang binding project. Links: (1) https://docs.google.com/document/d/1X1Xyb8YBGcBsfDH1oDsUPQM8lwCLYrJQmgV52HStY6o/edit?usp=sharing (2) https://

[Xen-devel] [PATCH] tools/xl: Use %u for uint32_t domids

2016-10-16 Thread Ronald Rojas
domid is normally represented by uint32_t, but many format strings in xl_cmdimpl.c use %d when printing, which is signed. Use %u instead to print the unsigned integer domid. Signed-off-by: Ronald Rojas --- tools/libxl/xl_cmdimpl.c | 26 +- 1 file changed, 13 insertions

[Xen-devel] [PATCH] tools/xl: Use %u for uint32_t domids

2016-10-16 Thread Ronald Rojas
domid is normally represented by uint32_t, but many format strings in xl_cmdimpl.c use %d when printing, which is signed. Use %u instead to print the unsigned integer domid. Signed-off-by: Ronald Rojas --- tools/libxl/xl_cmdimpl.c | 26 +- 1 file changed, 13 insertions

[Xen-devel] [PATCH RFC] xl_cmdimpl.c: Fix printf usage

2016-10-12 Thread Ronald Rojas
Change instances of printf, fprintf, and LOG where the specifier used is '%d' to be '%u' for domid. Signed-off-by: Ronald Rojas --- tools/libxl/xl_cmdimpl.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/tools/libxl/xl_cmd

Re: [Xen-devel] New Outreachy Applicant

2016-10-06 Thread Ronald Rojas
akefile of another subproject from xen so I could get some inspiration on how structure this new project. Is there any Makefile that you think I should look at? If not I'll just read through a couple of files in xen and try to follow a similar style. Does that sound like a good plan? Ronald Rojas ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] New Outreachy Applicant

2016-10-02 Thread Ronald Rojas
also seems that Domain Count is off. The command "xl cpupool-list" lists 3 domains (which are Dom0, tutorial-pv-guest, and ubuntu1) but my program returns 11 domains. Would you like me to look into the issue? I'm using the information called from Ctx.ListCpupool() so I may have to ta

[Xen-devel] New Outreachy Applicant

2016-09-13 Thread Ronald Rojas
Hi, I'm Ronald Rojas an undergraduate junior studying computer science at New York Unversity. I would like to apply fo the Xen projects Outreachy Program. After looking through the available projects I think I would be a good fit for creating the golang bindings for libxl. I'm profi

<    1   2