public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* x86-64 Jailhouse demo image generation using Isar
@ 2018-02-09 15:23 Jan Kiszka
  2018-02-09 15:43 ` Jan Kiszka
  2018-02-09 17:13 ` Henning Schild
  0 siblings, 2 replies; 3+ messages in thread
From: Jan Kiszka @ 2018-02-09 15:23 UTC (permalink / raw)
  To: Jailhouse, isar-users

Hi all,

cross-posting to two communities as this is of common interested:

I've just uploaded a new side-project of Jailhouse. It's called
jailhouse-images [1], and it aims at generating all what is required to
try out Jailhouse in QEMU/KVM environment.

It does this by using the Isar image builder for Debian. So this project
may also serve the Isar project as reference and test case.

I didn't write a README yet, but the project is almost self explaining:

- make sure you have docker installed and can launch privileged
  containers and qemu-system-x86_64 in a recent version (2.9 is fine
  e.g.)

- clone the jailhouse-images project [1]

- run ./build-images.sh (takes about 15 minutes on a decent notebook
  with decent Internet)

- run ./start-qemu.sh x86

- log into the machine (root/root) and play with Jailhouse

Jailhouse config files are installed under /etc/jailhouse, inmate images
/usr/libexec/jailhouse/demos.

Jan

[1] https://github.com/siemens/jailhouse-images

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: x86-64 Jailhouse demo image generation using Isar
  2018-02-09 15:23 x86-64 Jailhouse demo image generation using Isar Jan Kiszka
@ 2018-02-09 15:43 ` Jan Kiszka
  2018-02-09 17:13 ` Henning Schild
  1 sibling, 0 replies; 3+ messages in thread
From: Jan Kiszka @ 2018-02-09 15:43 UTC (permalink / raw)
  To: Jailhouse, isar-users

On 2018-02-09 16:23, Jan Kiszka wrote:
> Hi all,
> 
> cross-posting to two communities as this is of common interested:
> 
> I've just uploaded a new side-project of Jailhouse. It's called
> jailhouse-images [1], and it aims at generating all what is required to
> try out Jailhouse in QEMU/KVM environment.
> 
> It does this by using the Isar image builder for Debian. So this project
> may also serve the Isar project as reference and test case.
> 
> I didn't write a README yet, but the project is almost self explaining:
> 
> - make sure you have docker installed and can launch privileged
>   containers and qemu-system-x86_64 in a recent version (2.9 is fine
>   e.g.)
> 
> - clone the jailhouse-images project [1]
> 
> - run ./build-images.sh (takes about 15 minutes on a decent notebook
>   with decent Internet)
> 
> - run ./start-qemu.sh x86
> 
> - log into the machine (root/root) and play with Jailhouse
> 
> Jailhouse config files are installed under /etc/jailhouse, inmate images
> /usr/libexec/jailhouse/demos.
> 
> Jan
> 
> [1] https://github.com/siemens/jailhouse-images
> 

Forgot to mention some things:

1. Feedback if the whole setup works for others would be very welcome!

2. This actually stresses yet another OSS project of us: kas [2]. It's
   being used for Isar layer configuration management and bitbake setup
   along with its build container kasproject/kas-isar for Isar.

3. One already planned feature for jailhouse-images is support for a
   qemu-amd64 image, probably also stressing qemu-static vs. cross build
   support.

We could also include support for bootable images of some of our
reference boards at some point, but we will need some more tuning on
Isar for that first (on wic in particular). And, eventually, this
builder could spit out images for automated tests as well.

Jan

[2] https://github.com/siemens/kas

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: x86-64 Jailhouse demo image generation using Isar
  2018-02-09 15:23 x86-64 Jailhouse demo image generation using Isar Jan Kiszka
  2018-02-09 15:43 ` Jan Kiszka
@ 2018-02-09 17:13 ` Henning Schild
  1 sibling, 0 replies; 3+ messages in thread
From: Henning Schild @ 2018-02-09 17:13 UTC (permalink / raw)
  To: [ext] Jan Kiszka; +Cc: Jailhouse, isar-users

Am Fri, 9 Feb 2018 16:23:11 +0100
schrieb "[ext] Jan Kiszka" <jan.kiszka@siemens.com>:

> Hi all,
> 
> cross-posting to two communities as this is of common interested:
> 
> I've just uploaded a new side-project of Jailhouse. It's called
> jailhouse-images [1], and it aims at generating all what is required
> to try out Jailhouse in QEMU/KVM environment.
> 
> It does this by using the Isar image builder for Debian. So this
> project may also serve the Isar project as reference and test case.
> 
> I didn't write a README yet, but the project is almost self
> explaining:
> 
> - make sure you have docker installed and can launch privileged
>   containers and qemu-system-x86_64 in a recent version (2.9 is fine
>   e.g.)
> 
> - clone the jailhouse-images project [1]
> 
> - run ./build-images.sh (takes about 15 minutes on a decent notebook
>   with decent Internet)
> 
> - run ./start-qemu.sh x86

Works as expected, cool!

> - log into the machine (root/root) and play with Jailhouse

That was a little tricky, but "dpkg -L jailhouse" told me where to look
for some of the files i needed.

> Jailhouse config files are installed under /etc/jailhouse, inmate
> images /usr/libexec/jailhouse/demos.

And now i read this ... ok my bad for not reading my mails carefully ;).

Henning

> Jan
> 
> [1] https://github.com/siemens/jailhouse-images
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-02-09 17:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-09 15:23 x86-64 Jailhouse demo image generation using Isar Jan Kiszka
2018-02-09 15:43 ` Jan Kiszka
2018-02-09 17:13 ` Henning Schild

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox