[siemens/jailhouse] eb788a: hypervisor: Fix cleaning of generated files for la...

5 vistas
Ir al primer mensaje no leído

GitHub

no leída,
20 mar 2015, 3:26:36 a.m.20/3/15
para jailho...@googlegroups.com
Branch: refs/heads/next
Home: https://github.com/siemens/jailhouse
Commit: eb788af4535da9a2dd07339c2009ddda93db54f6
https://github.com/siemens/jailhouse/commit/eb788af4535da9a2dd07339c2009ddda93db54f6
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M hypervisor/Makefile

Log Message:
-----------
hypervisor: Fix cleaning of generated files for latest kernels

Recent kernels seem to add their own prefix to clean-files, thus won't
remove our files as the paths gets wrong. We can simply remove $(obj),
that works both for current and older kernels.

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


Commit: f205a40d0cbb47b854879d33a0afe2cc0e312f1c
https://github.com/siemens/jailhouse/commit/f205a40d0cbb47b854879d33a0afe2cc0e312f1c
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M .gitignore
M driver/Makefile
M driver/main.c
M hypervisor/Makefile
M hypervisor/setup.c

Log Message:
-----------
core/driver: Move version.h to generated directory

Now that we have such a directory, we should also use it for all files
generated during the build. This moves version.h.

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


Commit: 5a2bbcc5f84a95b4b9aab4984d71ca2a4e3187ea
https://github.com/siemens/jailhouse/commit/5a2bbcc5f84a95b4b9aab4984d71ca2a4e3187ea
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M .gitignore
M hypervisor/Makefile
M inmates/lib/arm/Makefile.lib

Log Message:
-----------
core: Move config.mk to generated directory

Analogously to version.h, this moves the generated config.mk to the
proper directory. We can switch from clean-files to clean-dirs for the
header directory at that chance.

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


Commit: 15c16bc3cdb20d1c34fb18f1164785033f6dd89a
https://github.com/siemens/jailhouse/commit/15c16bc3cdb20d1c34fb18f1164785033f6dd89a
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M driver/main.c

Log Message:
-----------
driver: Adjust description

The driver does more than loading.

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


Commit: 338618d90daed447a9c49c2b1e23caa289248f5c
https://github.com/siemens/jailhouse/commit/338618d90daed447a9c49c2b1e23caa289248f5c
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

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

Log Message:
-----------
driver: Factor out cell.h

Another step towards multiple compilation modules for the driver: this
data structure will be used by most of them.

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


Commit: 4696dca0998184d26c7b495072a51fa7d4bb36ae
https://github.com/siemens/jailhouse/commit/4696dca0998184d26c7b495072a51fa7d4bb36ae
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

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

Log Message:
-----------
driver: Factor out PCI related services

This moves all PCI-related functions in a separate module. Consequently,
the module is only built if PCI is enabled. Encapsulation also
simplifies to include PCI-related fields of struct cell only when used.

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


Commit: 9f6116a713c95651802412ff9e61d4717b4ea39f
https://github.com/siemens/jailhouse/commit/9f6116a713c95651802412ff9e61d4717b4ea39f
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M driver/main.c
A driver/main.h

Log Message:
-----------
driver: Export driver lock and enabled flag

The lock and the flag will be needed outside of main.c.

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


Commit: 474f26ff64da24809f93821f81696a1b52791fc1
https://github.com/siemens/jailhouse/commit/474f26ff64da24809f93821f81696a1b52791fc1
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M driver/Makefile
M driver/main.c
M driver/main.h
A driver/sysfs.c
A driver/sysfs.h

Log Message:
-----------
driver: Factor out sysfs module

Push all functions that build and serve the driver's sysfs view into a
separate module. This reduces the size of main.c significantly and makes
it more readable again.

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


Commit: 66b2150fab2b2b026b04358a957270a9f34fbba3
https://github.com/siemens/jailhouse/commit/66b2150fab2b2b026b04358a957270a9f34fbba3
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M driver/Makefile
A driver/cell.c
M driver/cell.h
M driver/jailhouse.h
M driver/main.c
M driver/main.h

Log Message:
-----------
driver: Move cell-related services to separate module

This moves all cell-related work out of main.c, shrinking it below 500
lines again.

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


Commit: 2c9a14087115eff2faeb28f3f4cdb68e99fbb17a
https://github.com/siemens/jailhouse/commit/2c9a14087115eff2faeb28f3f4cdb68e99fbb17a
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M hypervisor/arch/x86/include/asm/paging.h
M hypervisor/arch/x86/svm.c

Log Message:
-----------
x86: Fix no-execute tagging of SVM NPT structures

Two bugs in one: flags is too small, and PAGE_FLAG_EXECUTE is actually
PAGE_FLAG_NOEXECUTE.

Revealed by sparse while walking through a number of "constant XXX is so
big it is unsigned long" warnings.

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


Commit: 19c332d089e1f72f6a60fbc56d749c2e28399c49
https://github.com/siemens/jailhouse/commit/19c332d089e1f72f6a60fbc56d749c2e28399c49
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M hypervisor/arch/arm/control.c
M hypervisor/arch/arm/setup.c
M hypervisor/arch/x86/control.c
M hypervisor/arch/x86/setup.c
M hypervisor/arch/x86/svm.c
M hypervisor/arch/x86/vmx.c
M hypervisor/control.c

Log Message:
-----------
core: Ensure consistent function attributes

Take function attributes also the definition. Silences related sparse
errors.

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


Commit: 32bdb80bfd66f3a2b89c960b8dc449c991d19402
https://github.com/siemens/jailhouse/commit/32bdb80bfd66f3a2b89c960b8dc449c991d19402
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

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

Log Message:
-----------
x86: Silence sparse warning about non-ANSI function declaration

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


Commit: fc8f2bb758506c55f07ddc60ca7eab30e3ccdd00
https://github.com/siemens/jailhouse/commit/fc8f2bb758506c55f07ddc60ca7eab30e3ccdd00
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M hypervisor/arch/arm/include/asm/setup.h

Log Message:
-----------
arm: Remove spurious inline tags from function prototypes

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


Commit: 5678aa68e0c595c8e33a7ac1c50bca6571177211
https://github.com/siemens/jailhouse/commit/5678aa68e0c595c8e33a7ac1c50bca6571177211
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M hypervisor/arch/arm/gic-common.c

Log Message:
-----------
arm: Make target_cpu_map static

No user outside of this file.

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


Commit: 6175d4544439e66fffa6a0054ace1cce514c977a
https://github.com/siemens/jailhouse/commit/6175d4544439e66fffa6a0054ace1cce514c977a
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M hypervisor/arch/x86/include/asm/jailhouse_hypercall.h
M hypervisor/arch/x86/setup.c
M hypervisor/arch/x86/svm.c
M inmates/demos/x86/ivshmem-demo.c

Log Message:
-----------
x86: Address sparse warnings about missing UL tags for constants

Automatic type conversion saved us in all these cases so far, but better
avoid surprises in the future and another finding turned out to be a bug
in fact.

JAILHOUSE_BASE requires special wrapping as it is also used in assembly
(the linker script) where the UL tag is not understood.

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


Commit: f25792d958741bad87e433c425008cde96763d65
https://github.com/siemens/jailhouse/commit/f25792d958741bad87e433c425008cde96763d65
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

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

Log Message:
-----------
driver: Silence sparse warnings about incompatible address spaces

All conversion cases are harmless, just ensure that sparse is told this.

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


Commit: 899c16c26d104943ff72ab4dbf069fea9699ebe3
https://github.com/siemens/jailhouse/commit/899c16c26d104943ff72ab4dbf069fea9699ebe3
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

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

Log Message:
-----------
driver: Improve input validation to make code scanners happier

We trust the configuration files passed down to the driver already
because they define the isolation set up by the hypervisor and can
therefore screw up the system in various ways.

Nevertheless, we can and should improve basic consistency checks of
config fields that influences allocations and copy operations. This will
detect some corruptions/inconsistencies earlier and also satisfies the
Coverity scanner.

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


Commit: 5976889a7943fa5df471b0b0eafca954a5a660db
https://github.com/siemens/jailhouse/commit/5976889a7943fa5df471b0b0eafca954a5a660db
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M driver/cell.c

Log Message:
-----------
driver: Correctly tag kmalloc allocation on behalf of user space

When the provided config size if beyond kmalloc limits, it may raise a
WARN_ON. Avoid this by tagging the allocation with __GFP_NOWARN. Also
properly tag it as GFP_USER instead of GFP_KERNEL.

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


Commit: 222cb1e8ffb9bcc39b498e35991fe4d019bd8829
https://github.com/siemens/jailhouse/commit/222cb1e8ffb9bcc39b498e35991fe4d019bd8829
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
A ci/coverity_model.c

Log Message:
-----------
ci: Add Coverity model for kmalloc

kmalloc can actually sanitize a tained size parameter if given the right
GFP flags, namely GFP_USER (to properly tag the request origin) and
__GFP_NOWARN (to avoid WARN_ON when hitting the kmalloc limit). Model
this for Coverity so that it no longer complains about the correct
pattern we use in jailhouse_cmd_cell_create.

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


Commit: 2e13421eb39e4c16a6ed54b3c8ce856bac416941
https://github.com/siemens/jailhouse/commit/2e13421eb39e4c16a6ed54b3c8ce856bac416941
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M README.md
M configs/jetson-tk1.c

Log Message:
-----------
README/configs: Improve Jetson TK1 documentation

Add the board to the list of supported targets and document the required
kernel command line extension.

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


Commit: 6bb0812b443d0cbb0d96bb8036f75ee4d7498f02
https://github.com/siemens/jailhouse/commit/6bb0812b443d0cbb0d96bb8036f75ee4d7498f02
Author: Valentine Sinitsyn <valentine...@gmail.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M configs/h87i.c
M configs/qemu-vm.c
M hypervisor/arch/x86/vtd.c
M hypervisor/include/jailhouse/cell-config.h
M tools/jailhouse-config-create
M tools/root-cell-config.c.tmpl

Log Message:
-----------
core: Adapt config structures for non-Intel IOMMU

Rename dmar_units_base to iommu_base, and JAILHOUSE_MAX_DMAR_UNITS to
JAILHOUSE_MAX_IOMMU_UNITS.

Update configuration files and root cell config template to account for
new cell definition parameters names.

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


Commit: 5fe206927c05013826e824bc98605572e26ac885
https://github.com/siemens/jailhouse/commit/5fe206927c05013826e824bc98605572e26ac885
Author: Valentine Sinitsyn <valentine...@gmail.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M tools/jailhouse-config-collect.tmpl
M tools/jailhouse-config-create
M tools/root-cell-config.c.tmpl

Log Message:
-----------
tools: Implement ACPI IVRS table parser

Add parse_ivrs() function that extracts relevant bits of information
from ACPI IVRS table which describes AMD IOMMU units found in the system.

As VT-d and AMD-Vi impose slightly different requirements on PCI devices
configuration (eg PCI root complex), move sanity checks to corresponding
functions to account for these discrepancies.

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


Commit: 07a57f3e7a101dd0d55d38878ee759a8ea7b4e4e
https://github.com/siemens/jailhouse/commit/07a57f3e7a101dd0d55d38878ee759a8ea7b4e4e
Author: Valentine Sinitsyn <valentine...@gmail.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M configs/f2a88xm-hd3.c

Log Message:
-----------
configs: Update F2A88XM-HD3 config

Add single IOMMU entry that covers all built-in peripherals.
Also, include all missing bits of configuration data (mostly
PCI-related anyway).

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


Commit: fe675331cf46f16a6978b8884ec9a5a664e7e3bd
https://github.com/siemens/jailhouse/commit/fe675331cf46f16a6978b8884ec9a5a664e7e3bd
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M TODO.md
M hypervisor/arch/x86/vmx.c

Log Message:
-----------
x86: Add MSR whitelisting to to-do list

We currently allow access to all MSRs except for APIC-related ones. This
has to be changed into a whitelist approach to avoid that the cell
manipulates a CPU state in a way we didn't validate as safe.

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


Commit: 41033726726fd37957ee79392cf1d2f0ce8bd19a
https://github.com/siemens/jailhouse/commit/41033726726fd37957ee79392cf1d2f0ce8bd19a
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

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

Log Message:
-----------
x86: Fix comment wording

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


Commit: f5059c7423bdd6ca764be4d85228b484df34912a
https://github.com/siemens/jailhouse/commit/f5059c7423bdd6ca764be4d85228b484df34912a
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

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

Log Message:
-----------
x86: Drop redundant stgi from SVM's vcpu_deactivate_vmm

Already done via arch_cpu_restore -> vcpu_exit.

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


Commit: 570d49013bd22cb67671507e8b0226e634c756c9
https://github.com/siemens/jailhouse/commit/570d49013bd22cb67671507e8b0226e634c756c9
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M hypervisor/arch/x86/include/asm/processor.h

Log Message:
-----------
x86: Reformat and extend CR0 constants

Encode CR0 constants in an easier readable form and add some bits we
will need soon. Also add a mask of the reserved bits that need to be
left as-is on modifications.

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


Commit: 83f3a3159b44d88fda44647bd43a195f544b691a
https://github.com/siemens/jailhouse/commit/83f3a3159b44d88fda44647bd43a195f544b691a
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

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

Log Message:
-----------
x86: Rework CR0/CR4 restriction handling for VMX

First of all, we want to reuse the restrictions also for setting the
host CRx values. And then the current implementation would benefit from
more documentation, caching of those static values and checking their
consistency across all CPUs.

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


Commit: 456d3c53eb1779239b03ad2a8ed1749f9753c8b2
https://github.com/siemens/jailhouse/commit/456d3c53eb1779239b03ad2a8ed1749f9753c8b2
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M hypervisor/arch/x86/include/asm/percpu.h
M hypervisor/arch/x86/include/asm/vcpu.h
M hypervisor/arch/x86/setup.c
M hypervisor/arch/x86/svm.c
M hypervisor/arch/x86/vmx.c

Log Message:
-----------
x86: Bring host CR0 into well-defined state during setup

Avoid any uncertainty about the state of CR0 left behind by Linux: leave
the architecturally reserved bits intact, respect the requirement VMX
has on CR0 bits and otherwise set our own state.

The resulting CPU-specific state will once be validated via a
to-be-defined platform hash.

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


Commit: ea77680d61c12580d57903d7cd118742780c07ab
https://github.com/siemens/jailhouse/commit/ea77680d61c12580d57903d7cd118742780c07ab
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M hypervisor/arch/x86/include/asm/processor.h

Log Message:
-----------
x86: Reformat and cleanup CR4 constants

Encode CR0 constants in an easier readable form, add soon required XSAVE
feature bit and remove unused PGE. Also add a mask of the reserved bits
that need to be left as-is on modifications.

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


Commit: d2f83d3455faa95fd14ea09c9fe2ab2be1e09be5
https://github.com/siemens/jailhouse/commit/d2f83d3455faa95fd14ea09c9fe2ab2be1e09be5
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M hypervisor/arch/x86/include/asm/processor.h

Log Message:
-----------
x86: Sort and document feature bits

Sort feature bit constants according to their leafs and document their
locations.

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


Commit: aaa08604b19ff73ee294a0dba75eb1dc67864200
https://github.com/siemens/jailhouse/commit/aaa08604b19ff73ee294a0dba75eb1dc67864200
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M hypervisor/arch/x86/include/asm/processor.h
M hypervisor/arch/x86/vmx.c

Log Message:
-----------
x86: Check for availability of xsetbv before executing it for the guest

Practically, this feature is also available on VMX-capable CPUs, but we
should not rely on it.

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


Commit: a0ea99c4105a39ecf7b91146bc3b0e0adaaeaf20
https://github.com/siemens/jailhouse/commit/a0ea99c4105a39ecf7b91146bc3b0e0adaaeaf20
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M hypervisor/arch/x86/include/asm/percpu.h
M hypervisor/arch/x86/include/asm/vcpu.h
M hypervisor/arch/x86/setup.c
M hypervisor/arch/x86/svm.c
M hypervisor/arch/x86/vmx.c

Log Message:
-----------
x86: Bring host CR4 into well-defined state during setup

Analogously to CR0: Avoid any uncertainty about the state of CR4 left
behind by Linux: leave the architecturally reserved bits intact, respect
the requirement VMX has on CR4 bits and otherwise set our own state.
Set OSXSAVE if available so that we can execute xsetbv on behalf of the
guest.

The resulting CPU-specific state will once be validated via a
to-be-defined platform hash.

A side effect of this change is the VMX's vcpu_exit will no longer clear
VMXE in CR4 but only in the cached Linux state that arch_cpu_restore
will write back.

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


Commit: 86ada1aab258d6583da53638ece585c6c10610ae
https://github.com/siemens/jailhouse/commit/86ada1aab258d6583da53638ece585c6c10610ae
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M hypervisor/include/jailhouse/printk.h

Log Message:
-----------
core: Introduce error return code tracing

A number of errors that can be reported during setup or while
reconfiguring cells are hard to trace down to their detailed reasons
because of the limited number of error codes available through POSIX.
This Introduces a non-invasive mechanism to instrument error return
paths in the hypervisor and report the origin of a specific error code
in the form

hypervisor/arch/x86/vmx.c:592: returning error -ENODEV

This can then be matched against the source code to find out which check
on the hardware, the system state or the configuration data failed
precisely.

The feature is off by default, requiring CONFIG_TRACE_ERROR to be set in
config.h.

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


Commit: 1e66fbfa850d7a77f203534330b6dadc85340a95
https://github.com/siemens/jailhouse/commit/1e66fbfa850d7a77f203534330b6dadc85340a95
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M hypervisor/control.c
M hypervisor/paging.c
M hypervisor/pci.c
M hypervisor/pci_ivshmem.c

Log Message:
-----------
core: Instrument relevant return paths for error tracing

This instruments return paths so that the origin of important errors can
be tracked down. Two so far explicit error outputs are replaced with
trace_error.

We do not instrument -ENOMEM cases unless they relate to allocations
from the remapping pool. All other -ENOMEM cases boil down to a too
small hypervisor region.

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


Commit: 7d071da5f2ea8e0cc655ccc9cac9d59fc37e3bda
https://github.com/siemens/jailhouse/commit/7d071da5f2ea8e0cc655ccc9cac9d59fc37e3bda
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M hypervisor/arch/x86/apic.c
M hypervisor/arch/x86/ioapic.c
M hypervisor/arch/x86/svm.c
M hypervisor/arch/x86/vcpu.c
M hypervisor/arch/x86/vmx.c
M hypervisor/arch/x86/vtd.c

Log Message:
-----------
x86: Instrument relevant return paths for error tracing

Add trace_error to return paths so that the origin of important errors
can be tracked down.

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


Commit: 8af331df5ea35ab5ddbd119bf7c866329ead781a
https://github.com/siemens/jailhouse/commit/8af331df5ea35ab5ddbd119bf7c866329ead781a
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M hypervisor/paging.c

Log Message:
-----------
core: Simplify error reporting of paging_init

If -ENOMEM shows up at the user, this always means we ran out of pages.

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


Commit: 6e6fab941ed6be83bee25044113513bc3aad4f3b
https://github.com/siemens/jailhouse/commit/6e6fab941ed6be83bee25044113513bc3aad4f3b
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M ci/jailhouse-config-vexpress.h
M ci/jailhouse-config-x86.h

Log Message:
-----------
ci: Test CONFIG_TRACE_ERROR in specific targets

Make sure we test both CONFIG_TRACE_ERROR enabled and disabled by
leaving it off for the Banana Pi, and also test it on both
architectures.

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


Commit: 92a9c38bea67c14e29379f65d8b653e9e0f2681f
https://github.com/siemens/jailhouse/commit/92a9c38bea67c14e29379f65d8b653e9e0f2681f
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M configs/qemu-vm.c

Log Message:
-----------
configs: Tune qemu config for X mode changes

X triggers accesses to the QEMU VBE ports and some non-existent port
402. Allow both to (re-)enable graphic mode changes.

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


Commit: c1b677e61a964eabd86acb4a9e7a4378dcda5b40
https://github.com/siemens/jailhouse/commit/c1b677e61a964eabd86acb4a9e7a4378dcda5b40
Author: Henning Schild <henning...@siemens.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)

Changed paths:
M tools/jailhouse-config-create

Log Message:
-----------
tools: config create: do not break up ROM memory region

Just take the ROM memory region as one, that avoids creating unalligned
memory regions on some systems.

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


Compare: https://github.com/siemens/jailhouse/compare/4e99d6eb2dbd...c1b677e61a96
Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos