[siemens/jailhouse] 893217: inmates: Add infrastructure for inmates that serve...

6 views
Skip to first unread message

GitHub

unread,
Jun 11, 2015, 1:46:42 AM6/11/15
to jailho...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/siemens/jailhouse
Commit: 89321702ab776275022f5fcc035909d96d2ab819
https://github.com/siemens/jailhouse/commit/89321702ab776275022f5fcc035909d96d2ab819
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-05-24 (Sun, 24 May 2015)

Changed paths:
M Makefile
M inmates/Makefile
A inmates/tools/arm/Makefile
A inmates/tools/x86/Makefile
M scripts/include.mk

Log Message:
-----------
inmates: Add infrastructure for inmates that serve as tools

We will had an x86 inmate that will support the booting of Linux in
non-root cells. This lays the foundation for such tools, including their
installation into $(libexecdir)/jailhouse.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 4fc6a0fedb458bfc9d1b1802d193979737a30c22
https://github.com/siemens/jailhouse/commit/4fc6a0fedb458bfc9d1b1802d193979737a30c22
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-05-24 (Sun, 24 May 2015)

Changed paths:
M tools/Makefile

Log Message:
-----------
tools: Generalize python script patching during installation

Rename patch_datadir_var to patch_dirvar and add a parameter to specify
which variable to patch. This will allow to use it also for libexecdir.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: f7bd8491773f33409ea0bbcd2dc0bd4051e50ac6
https://github.com/siemens/jailhouse/commit/f7bd8491773f33409ea0bbcd2dc0bd4051e50ac6
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-06-07 (Sun, 07 Jun 2015)

Changed paths:
M Makefile
M inmates/tools/x86/Makefile
A inmates/tools/x86/linux-loader.c
M tools/Makefile
A tools/jailhouse-cell-linux
M tools/jailhouse.c

Log Message:
-----------
tools, inmates: Add "cell linux" subcommand to jailhouse tool

This adds support for loading and booting paravirtualized x86 Linux
kernels in non-root cells. The jailhouse tool is extended for this
purpose with a new subcommand "cell linux" that accepts the cell
configuration, the kernel image and an optional initrd as input. Also a
kernel command line can be specified. The script then creates the cell,
unless it already exists, load kernel, initrd, a special boot loader and
the required parameters for that loader into the cell RAM. Finally, it
starts the cell.

The interface between python helper and the boot loader inmate is based
on the kernels boot_params structure with a custom setup_data extension.
The former is initialized by the python help, specifically to inform
Linux about the location of its initrd and the command line. It also
contains an e820 list to report the memory layout. The setup_data is
filled by the boot loader with information about the PM timer address
and the available CPUs as well as their physical APIC IDs. For that
purpose, the Linux cell requires a communication region.

Although the loader script is currently x86-only, extension to ARM is
surely feasible as well.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 533545b27c1274badbd744d0856ed643dc371c99
https://github.com/siemens/jailhouse/commit/533545b27c1274badbd744d0856ed643dc371c99
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-06-07 (Sun, 07 Jun 2015)

Changed paths:
A configs/linux-x86-demo.c

Log Message:
-----------
configs: Add a linux-x86-demo cell configuration

This demonstrates non-root Linux booting. It is targeting the QEMU
reference setup but can easily be tailored for physical setups as well.
The config contains an ivshmem device to demonstrate both PCI device
discovery and inter-cell communication. Of the four available CPUs in
the QEMU setup, 3 are assigned to the cell to show that SMP works.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 5e02681b8970464b802596bfbbf133c7322671a3
https://github.com/siemens/jailhouse/commit/5e02681b8970464b802596bfbbf133c7322671a3
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-06-07 (Sun, 07 Jun 2015)

Changed paths:
M tools/jailhouse-completion.bash

Log Message:
-----------
tools: Add bash completion for Linux loader command

Teach the new subcommand "cell linux" to the bash completion script.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 4164c72689fbfc4487b9df1393d7b1ecb5496229
https://github.com/siemens/jailhouse/commit/4164c72689fbfc4487b9df1393d7b1ecb5496229
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-06-07 (Sun, 07 Jun 2015)

Changed paths:
A Documentation/non-root-linux.txt

Log Message:
-----------
Documentation: Add how-to for non-root Linux cells

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 436be34789675b31bbec9425186e2cb7c446caac
https://github.com/siemens/jailhouse/commit/436be34789675b31bbec9425186e2cb7c446caac
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-06-07 (Sun, 07 Jun 2015)

Changed paths:
M hypervisor/arch/x86/amd_iommu.c
M hypervisor/arch/x86/include/asm/iommu.h
M hypervisor/arch/x86/svm.c
M hypervisor/arch/x86/vmx.c
M hypervisor/arch/x86/vtd.c

Log Message:
-----------
x86: Remove cpu_data parameter from iommu_check_pending_faults

The function only works again the current CPU.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: cc6a16548a8ac28459216e0c72697ddb48514db0
https://github.com/siemens/jailhouse/commit/cc6a16548a8ac28459216e0c72697ddb48514db0
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-06-07 (Sun, 07 Jun 2015)

Changed paths:
M hypervisor/arch/x86/vtd.c

Log Message:
-----------
x86: vtd: Check for pending faults after reprogramming the reporting CPU

There is a risk of reporting a fault event late when racing with with
reprogamming steps, or even missing it completely.

Reported-by: Valentine Sinitsyn <valentine...@gmail.com>
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 3fa8bd5b2fce2eeb2e85d3d18ad401cf6726d0d5
https://github.com/siemens/jailhouse/commit/3fa8bd5b2fce2eeb2e85d3d18ad401cf6726d0d5
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-06-07 (Sun, 07 Jun 2015)

Changed paths:
M tools/jailhouse-config-create

Log Message:
-----------
tools: config-create: Fix pep8 warning

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 1c4740a37e407a7eb5a1f0840f53f8c3ab564aa7
https://github.com/siemens/jailhouse/commit/1c4740a37e407a7eb5a1f0840f53f8c3ab564aa7
Author: Henning Schild <henning...@siemens.com>
Date: 2015-06-07 (Sun, 07 Jun 2015)

Changed paths:
M driver/cell.c
M driver/main.c
M driver/pci.c
M driver/pci.h

Log Message:
-----------
driver: pci: turn jailhouse into a PCI dummy driver

Implement claim/release for PCI devices assigned to non-root cells.

Signed-off-by: Henning Schild <henning...@siemens.com>
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: fc2e28ce0afb7b3dd861d69be494b86ed82d6e10
https://github.com/siemens/jailhouse/commit/fc2e28ce0afb7b3dd861d69be494b86ed82d6e10
Author: Valentine Sinitsyn <valentine...@gmail.com>
Date: 2015-06-07 (Sun, 07 Jun 2015)

Changed paths:
R Documentation/LWN.net-article.txt
A Documentation/articles/LWN.net-article-01-2014.txt

Log Message:
-----------
documentation: add dedicated "articles" section

We are preparing to import yet another article about Jailhouse, so
it makes sense to have dedicated place to store them. Also, add a
timestamp to article's filename, so one can easily say its
publication date.

Signed-off-by: Valentine Sinitsyn <valentine...@gmail.com>
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: b780a9032665d4b506ab4d870c7e15bd113dfff1
https://github.com/siemens/jailhouse/commit/b780a9032665d4b506ab4d870c7e15bd113dfff1
Author: Valentine Sinitsyn <valentine...@gmail.com>
Date: 2015-06-07 (Sun, 07 Jun 2015)

Changed paths:
A Documentation/articles/LJ-article-04-2015.txt

Log Message:
-----------
documentation: add Linux Journal article

"Get to know" Jailhouse originally appeared in Linux Journal issue
252 (April 2015). As of May 2015, it can be redistributed freely,
so add its slightly updated version to Documentation.

Signed-off-by: Valentine Sinitsyn <valentine...@gmail.com>
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 43c8569713513c20a1b0a7dc6af1e60b0ff0103a
https://github.com/siemens/jailhouse/commit/43c8569713513c20a1b0a7dc6af1e60b0ff0103a
Author: Valentine Sinitsyn <valentine...@gmail.com>
Date: 2015-06-07 (Sun, 07 Jun 2015)

Changed paths:
M Documentation/articles/LJ-article-04-2015.txt

Log Message:
-----------
documentation: reflect qemu-vm change in LJ article

With recent qemu-vm.cell, the 9p device is expected at a specific
PCI address. Update QEMU startup command in Linux Journal article
to reflect this.

Reported-by: Jan Kiszka <jan.k...@siemens.com>
Signed-off-by: Valentine Sinitsyn <valentine...@gmail.com>
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: a1bd8b2ea1eca32195dbc767660ff5d0633eccec
https://github.com/siemens/jailhouse/commit/a1bd8b2ea1eca32195dbc767660ff5d0633eccec
Author: Valentine Sinitsyn <valentine...@gmail.com>
Date: 2015-06-07 (Sun, 07 Jun 2015)

Changed paths:
A FAQ.md
M README.md

Log Message:
-----------
documentation: add FAQ section

Attempt to answer questions commonly asked about Jailhouse
in many places across the Web.

Signed-off-by: Valentine Sinitsyn <valentine...@gmail.com>
[Jan: tune link description]
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Compare: https://github.com/siemens/jailhouse/compare/4276bce9a8a0...a1bd8b2ea1ec
Reply all
Reply to author
Forward
0 new messages