[Xen-devel] [stage1-xen PATCH v2 06/11] build/fedora: Add `xen-4.9.0-runit/*` scripts

2017-09-19 Thread Rajiv Ranganath
From: Rajiv M Ranganath <rajiv.rangan...@atihita.com> Signed-off-by: Rajiv Ranganath <rajiv.rangan...@atihita.com> --- build/fedora/xen-4.9.0-runit/setup.sh | 18 build/fedora/xen-4.9.0-runit/teardown.sh | 18 .../xen-4.9

[Xen-devel] [stage1-xen PATCH v2 08/11] README.md: Add CircleCI badge

2017-09-19 Thread Rajiv Ranganath
From: Rajiv M Ranganath <rajiv.rangan...@atihita.com> Signed-off-by: Rajiv Ranganath <rajiv.rangan...@atihita.com> Reviewed-by: Stefano Stabellini <sstabell...@kernel.org> --- README.md |2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 9ea6a

[Xen-devel] [stage1-xen PATCH v2 10/11] BUILDING.md: Add Fedora instructions

2017-09-19 Thread Rajiv Ranganath
Signed-off-by: Rajiv Ranganath <rajiv.rangan...@atihita.com> Reviewed-by: Stefano Stabellini <sstabell...@kernel.org> --- BUILDING.md | 96 --- 1 file changed, 91 insertions(+), 5 deletions(-) diff --git a/BUILDING.md b/BUILD

[Xen-devel] [stage1-xen PATCH v2 11/11] README.md: Mention preview status

2017-09-19 Thread Rajiv Ranganath
From: Rajiv M Ranganath <rajiv.rangan...@atihita.com> Signed-off-by: Rajiv Ranganath <rajiv.rangan...@atihita.com> --- README.md |1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e1cd40c..d1ae6b9 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,

[Xen-devel] [stage1-xen PATCH v2 09/11] build/fedora: Add `RUNNING_STAGE1_XEN.md`

2017-09-19 Thread Rajiv Ranganath
. Signed-off-by: Rajiv Ranganath <rajiv.rangan...@atihita.com> --- build/fedora/RUNNING_STAGE1_XEN.md | 391 1 file changed, 391 insertions(+) create mode 100644 build/fedora/RUNNING_STAGE1_XEN.md diff --git a/build/fedora/RUNNING_STAGE1_XEN.md b/build/

[Xen-devel] [stage1-xen PATCH v2 07/11] .circleci/config.yml: Add

2017-09-19 Thread Rajiv Ranganath
From: Rajiv M Ranganath <rajiv.rangan...@atihita.com> Signed-off-by: Rajiv Ranganath <rajiv.rangan...@atihita.com> --- .circleci/config.yml | 21 + 1 file changed, 21 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml

[Xen-devel] [stage1-xen PATCH v2 05/11] build/fedora: Add `source_path.sh`

2017-09-19 Thread Rajiv Ranganath
From: Rajiv M Ranganath <rajiv.rangan...@atihita.com> Signed-off-by: Rajiv Ranganath <rajiv.rangan...@atihita.com> --- build/fedora/source_path.sh |3 +++ 1 file changed, 3 insertions(+) create mode 100755 build/fedora/source_path.sh diff --git a/build/fedora/source_path.sh b/

[Xen-devel] [stage1-xen PATCH v2 03/11] build/fedora: Add `buildroot-Dockerfile`

2017-09-19 Thread Rajiv Ranganath
From: Rajiv M Ranganath <rajiv.rangan...@atihita.com> Signed-off-by: Rajiv Ranganath <rajiv.rangan...@atihita.com> Reviewed-by: Stefano Stabellini <sstabell...@kernel.org> --- build/fedora/buildroot-Dockerfile | 113 + 1 file chang

[Xen-devel] [stage1-xen PATCH v2 01/11] .gitignore: Add

2017-09-19 Thread Rajiv Ranganath
From: Rajiv M Ranganath <rajiv.rangan...@atihita.com> Signed-off-by: Rajiv Ranganath <rajiv.rangan...@atihita.com> Reviewed-by: Stefano Stabellini <sstabell...@kernel.org> --- .gitignore |2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitignore diff --

[Xen-devel] [stage1-xen PATCH v2 02/11] build/fedora: Add `buildroot-README.md`

2017-09-19 Thread Rajiv Ranganath
From: Rajiv M Ranganath <rajiv.rangan...@atihita.com> Signed-off-by: Rajiv Ranganath <rajiv.rangan...@atihita.com> Reviewed-by: Stefano Stabellini <sstabell...@kernel.org> --- build/fedora/buildroot-README.md | 50 ++ 1 file changed, 50 ins

[Xen-devel] [stage1-xen PATCH v2 04/11] build/fedora: Add `run` and `components/*` scripts

2017-09-19 Thread Rajiv Ranganath
e used to customize the build either on the host or while building inside a container. `run` script makes use of scripts in `components/` directory to build stage1-xen artifacts in a container. Signed-off-by: Rajiv Ranganath <rajiv.rangan...@atihita.com> --- build/fedora/components

[Xen-devel] [stage1-xen PATCH v2 00/11] Add Fedora support

2017-09-19 Thread Rajiv Ranganath
Hi Stefano, I've made the following changes based on v1 series feedback. Kindly please review. build/fedora: Add `run` and `components/*` scripts - Updated commit message - Switched to Xen 4.9.0, Qemu 2.10.0, Rkt 1.28.1 build/fedora: Add `source_path.sh` - Updated paths to qemu and xen

Re: [Xen-devel] [stage1-xen PATCH v1 04/10] build/fedora: Add `run` and `components/*` scripts

2017-09-12 Thread Rajiv Ranganath
On Tue, Sep 12 2017 at 01:36:04 AM, Stefano Stabellini wrote: [...] > Fortunately, from the stage1-xen code point of view, there is very > little difference between PVHv2 and PV. Switching from one to the > other should be a matter of adding one line to the xl config

Re: [Xen-devel] [stage1-xen PATCH v1 06/10] build/fedora: Add `xen-unstable-runit/*` scripts

2017-09-12 Thread Rajiv Ranganath
On Tue, Sep 12 2017 at 04:38:19 AM, Andrew Cooper wrote: > On 11/09/2017 21:20, Stefano Stabellini wrote: [...] >> My only concern is about diverging from the upstream Xen codebase. I >> think the runit scripts should call xencommons underneath. If xencommons >>

Re: [Xen-devel] [stage1-xen PATCH v1 09/10] build/fedora: Add `RUNNING_STAGE1_XEN.md`

2017-09-08 Thread Rajiv Ranganath
On Sat, Sep 09 2017 at 07:40:17 AM, Rajiv Ranganath <rajiv.rangan...@atihita.com> wrote: [...] >> >> and do the same for the other components. > > Yes, we can do that, but I feel its a good idea. :-) I meant to say

Re: [Xen-devel] [stage1-xen PATCH v1 09/10] build/fedora: Add `RUNNING_STAGE1_XEN.md`

2017-09-08 Thread Rajiv Ranganath
On Thu, Sep 07 2017 at 12:44:16 AM, Stefano Stabellini wrote: [...] >> +[root@localhost ~]# ls /opt >> +qemu-unstable stage1-xen xen-unstable xen-unstable-runit >> +``` >> + >> +This will extract all the build artifacts into `/opt` directory. > > Is there a reason

Re: [Xen-devel] [stage1-xen PATCH v1 04/10] build/fedora: Add `run` and `components/*` scripts

2017-09-08 Thread Rajiv Ranganath
On Thu, Sep 07 2017 at 12:29:54 AM, Stefano Stabellini wrote: [...] >> +QEMU_BRANCH = 'master' > > I am not sure we want to checkout always the latest QEMU. It is a > running target. It makes sense to use one of the latest releases > instead, such as v2.10.0? > [...]

Re: [Xen-devel] [stage1-xen PATCH v1 06/10] build/fedora: Add `xen-unstable-runit/*` scripts

2017-09-08 Thread Rajiv Ranganath
On Thu, Sep 07 2017 at 12:10:21 AM, Stefano Stabellini wrote: [...] > The series is much better now thank you. One question: why did you write > your own init scripts rather than reusing xencommons (with the caveat > that you would have to add make sure to

[Xen-devel] [stage1-xen PATCH v1 09/10] build/fedora: Add `RUNNING_STAGE1_XEN.md`

2017-08-26 Thread Rajiv Ranganath
Signed-off-by: Rajiv Ranganath <rajiv.rangan...@atihita.com> --- build/fedora/RUNNING_STAGE1_XEN.md | 391 1 file changed, 391 insertions(+) create mode 100644 build/fedora/RUNNING_STAGE1_XEN.md diff --git a/build/fedora/RUNNING_STAGE1_XEN.md b

[Xen-devel] [stage1-xen PATCH v1 08/10] README.md: Add CircleCI badge

2017-08-26 Thread Rajiv Ranganath
From: Rajiv M Ranganath <rajiv.rangan...@atihita.com> Signed-off-by: Rajiv Ranganath <rajiv.rangan...@atihita.com> --- README.md |2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 9ea6adf..e1cd40c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7

[Xen-devel] [stage1-xen PATCH v1 06/10] build/fedora: Add `xen-unstable-runit/*` scripts

2017-08-26 Thread Rajiv Ranganath
From: Rajiv M Ranganath <rajiv.rangan...@atihita.com> Signed-off-by: Rajiv Ranganath <rajiv.rangan...@atihita.com> --- build/fedora/xen-unstable-runit/setup.sh | 18 build/fedora/xen-unstable-runit/teardown.sh| 18 .../xen-in

[Xen-devel] [stage1-xen PATCH v1 10/10] BUILDING.md: Add Fedora instructions

2017-08-26 Thread Rajiv Ranganath
Signed-off-by: Rajiv Ranganath <rajiv.rangan...@atihita.com> --- BUILDING.md | 96 --- 1 file changed, 91 insertions(+), 5 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index 3ef5311..946c799 100644 --- a/BUILDING.md

[Xen-devel] [stage1-xen PATCH v1 07/10] .circleci/config.yml: Add

2017-08-26 Thread Rajiv Ranganath
From: Rajiv M Ranganath <rajiv.rangan...@atihita.com> Signed-off-by: Rajiv Ranganath <rajiv.rangan...@atihita.com> --- .circleci/config.yml | 21 + 1 file changed, 21 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml

[Xen-devel] [stage1-xen PATCH v1 05/10] build/fedora: Add `source_path.sh`

2017-08-26 Thread Rajiv Ranganath
From: Rajiv M Ranganath <rajiv.rangan...@atihita.com> Signed-off-by: Rajiv Ranganath <rajiv.rangan...@atihita.com> --- build/fedora/source_path.sh |3 +++ 1 file changed, 3 insertions(+) create mode 100755 build/fedora/source_path.sh diff --git a/build/fedora/source_path.sh b/

[Xen-devel] [stage1-xen PATCH v1 00/10] Add Fedora support

2017-08-26 Thread Rajiv Ranganath
Hi Stefanao, I've made changes based on RFC feedback. Kindly please review. Changes in V1: - build/fedora: Add `run` and `components/*` scripts Introduce scripts to build individual components (xen, rkt, qemu) both within a container or directly on the host. It also has constants that can be

[Xen-devel] [stage1-xen PATCH v1 03/10] build/fedora: Add `buildroot-Dockerfile`

2017-08-26 Thread Rajiv Ranganath
From: Rajiv M Ranganath <rajiv.rangan...@atihita.com> Signed-off-by: Rajiv Ranganath <rajiv.rangan...@atihita.com> --- build/fedora/buildroot-Dockerfile | 113 + 1 file changed, 113 insertions(+) create mode 100644 build/fedora/buildroot-Dock

[Xen-devel] [stage1-xen PATCH v1 02/10] build/fedora: Add `buildroot-README.md`

2017-08-26 Thread Rajiv Ranganath
From: Rajiv M Ranganath <rajiv.rangan...@atihita.com> Signed-off-by: Rajiv Ranganath <rajiv.rangan...@atihita.com> --- build/fedora/buildroot-README.md | 50 ++ 1 file changed, 50 insertions(+) create mode 100644 build/fedora/buildroot-README.md

[Xen-devel] [stage1-xen PATCH v1 01/10] .gitignore: Add

2017-08-26 Thread Rajiv Ranganath
From: Rajiv M Ranganath <rajiv.rangan...@atihita.com> Signed-off-by: Rajiv Ranganath <rajiv.rangan...@atihita.com> --- .gitignore |2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000..873f

[Xen-devel] [stage1-xen PATCH v1 04/10] build/fedora: Add `run` and `components/*` scripts

2017-08-26 Thread Rajiv Ranganath
From: Rajiv M Ranganath <rajiv.rangan...@atihita.com> Signed-off-by: Rajiv Ranganath <rajiv.rangan...@atihita.com> --- build/fedora/components/qemu | 50 build/fedora/components/rkt | 58 ++ build/fedor

Re: [Xen-devel] [stage1-xen (RFC) PATCH 07/10] .circleci/config.yml: Add

2017-08-24 Thread Rajiv Ranganath
On Thu, Aug 24 2017 at 05:54:05 AM, Stefano Stabellini <sstabell...@kernel.org> wrote: > On Mon, 21 Aug 2017, Rajiv Ranganath wrote: >> From: Rajiv M Ranganath <rajiv.rangan...@atihita.com> > > Does .circleci need to be in the top directory or could it be under >

[Xen-devel] [stage1-xen (RFC) PATCH 08/10] README.md: Add CircleCI badge

2017-08-21 Thread Rajiv Ranganath
From: Rajiv M Ranganath --- README.md |2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 9ea6adf..e1cd40c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # stage1-xen - A Xen based stage1 for CoreOS rkt +[![Build

[Xen-devel] [stage1-xen (RFC) PATCH 05/10] build/fedora: Add `source_path.sh`

2017-08-21 Thread Rajiv Ranganath
From: Rajiv M Ranganath --- build/fedora/source_path.sh |3 +++ 1 file changed, 3 insertions(+) create mode 100755 build/fedora/source_path.sh diff --git a/build/fedora/source_path.sh b/build/fedora/source_path.sh new file mode 100755 index 000..57ac7ed

[Xen-devel] [stage1-xen (RFC) PATCH 07/10] .circleci/config.yml: Add

2017-08-21 Thread Rajiv Ranganath
From: Rajiv M Ranganath --- .circleci/config.yml | 21 + 1 file changed, 21 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 000..67ac964 ---

[Xen-devel] [stage1-xen (RFC) PATCH 04/10] build/fedora: Add `run`

2017-08-21 Thread Rajiv Ranganath
From: Rajiv M Ranganath --- build/fedora/run | 87 ++ 1 file changed, 87 insertions(+) create mode 100755 build/fedora/run diff --git a/build/fedora/run b/build/fedora/run new file mode 100755 index

[Xen-devel] [stage1-xen (RFC) PATCH 10/10] BUILDING.md: Add Fedora instructions

2017-08-21 Thread Rajiv Ranganath
--- BUILDING.md | 35 ++- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index 3ef5311..b9ca404 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -1,7 +1,13 @@ # Build -stage1-xen requires new Xen and QEMU versions at the

[Xen-devel] [stage1-xen (RFC) PATCH 03/10] build/fedora: Add `buildroot-Dockerfile`

2017-08-21 Thread Rajiv Ranganath
From: Rajiv M Ranganath --- build/fedora/buildroot-Dockerfile | 108 + 1 file changed, 108 insertions(+) create mode 100644 build/fedora/buildroot-Dockerfile diff --git a/build/fedora/buildroot-Dockerfile

[Xen-devel] [stage1-xen (RFC) PATCH 09/10] build/fedora: Add `RUNNING_STAGE1_XEN.md`

2017-08-21 Thread Rajiv Ranganath
--- build/fedora/RUNNING_STAGE1_XEN.md | 383 1 file changed, 383 insertions(+) create mode 100644 build/fedora/RUNNING_STAGE1_XEN.md diff --git a/build/fedora/RUNNING_STAGE1_XEN.md b/build/fedora/RUNNING_STAGE1_XEN.md new file mode 100644 index

[Xen-devel] [stage1-xen (RFC) PATCH 02/10] build/fedora: Add `buildroot-README.md`

2017-08-21 Thread Rajiv Ranganath
From: Rajiv M Ranganath --- build/fedora/buildroot-README.md | 50 ++ 1 file changed, 50 insertions(+) create mode 100644 build/fedora/buildroot-README.md diff --git a/build/fedora/buildroot-README.md

[Xen-devel] [stage1-xen (RFC) PATCH 01/10] .gitignore: Add

2017-08-21 Thread Rajiv Ranganath
From: Rajiv M Ranganath --- .gitignore |2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000..873f8f6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +# build/fedora

[Xen-devel] [stage1-xen (RFC) PATCH 06/10] build/fedora: Add `xen-unstable-runit/*` scripts

2017-08-21 Thread Rajiv Ranganath
From: Rajiv M Ranganath --- build/fedora/xen-unstable-runit/setup.sh | 21 build/fedora/xen-unstable-runit/teardown.sh| 21 .../xen-init-dom0-disk-backend/run |8

[Xen-devel] [stage1-xen (RFC) PATCH 00/10] Add Fedora support

2017-08-21 Thread Rajiv Ranganath
Hi Stefanao, Following series adds documentation on how to use stage1-xen on Fedora. It also adds continuous build support using CircleCI. Xen, Qemu, rkt and stage1 ACI image are built using a Fedora based container. This setup allows for a reproducible build environment that we can use locally

Re: [Xen-devel] [stage1-xen PATCH v1] init: Add `glide.lock`

2017-08-15 Thread Rajiv Ranganath
On Tue, Aug 15 2017 at 06:23:07 AM, Stefano Stabellini wrote: > Thank you for the patch. Usually the description that you sent in the > previous email is written here. > > I like the build.sh changes and I think introducing init/glide.yaml is a > great idea. But I don't

[Xen-devel] [stage1-xen PATCH v1] init: Add `glide.lock`

2017-08-12 Thread Rajiv Ranganath
Signed-off-by: Rajiv Ranganath <rajiv.rangan...@atihita.com> --- build.sh|5 +-- init/glide.lock | 89 +++ init/glide.yaml | 23 ++ 3 files changed, 114 insertions(+), 3 deletions(-) create mode 10064

[Xen-devel] [stage1-xen PATCH v1] init: Add `glide.lock`

2017-08-12 Thread Rajiv Ranganath
Hi Stefano, `build.sh` does `glide init` followed by `glide up -v` in order to pull in dependencies for `init.go`. I ran into two issues - 1. `glide init` automatically starts in interactive mode, which pauses `build.sh`. This could be fixed with `glide init --non-interactive`. 2. `glide up

Re: [Xen-devel] stage1-xen for Fedora

2017-08-08 Thread Rajiv Ranganath
Hi Stefano, On Wed, Aug 2, 2017 at 12:15 AM, Stefano Stabellini wrote: [...] > The main thing that will be different is the list of dependencies you > need to install to build Xen. On Fedora it should be (I am using > Raisin[1] as a reference): Thank you for the pointer