From: Andreas Kölbl <[email protected]> Add documentation for configuration switches (debugging options or platform selectors).
Signed-off-by: Andreas Kölbl <[email protected]> --- Documentation/hypervisor-configuration.txt | 64 ++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 Documentation/hypervisor-configuration.txt diff --git a/Documentation/hypervisor-configuration.txt b/Documentation/hypervisor-configuration.txt new file mode 100644 index 00000000..95bccfbb --- /dev/null +++ b/Documentation/hypervisor-configuration.txt @@ -0,0 +1,64 @@ +Hypervisor Configuration +======================== + +Jailhouse supports various static compile-time configuration +parameters, such as platform specific settings and debugging options. +Those settings can optionally be defined in +'hypervisor/include/jailhouse/config.h'. + +Platform independent debugging options +-------------------------------------- + +General configuration parameters +/* Print some Jailhouse errors to debug output */ +#define CONFIG_TRACE_ERROR +/* + * Set the cell's instruction pointer to 0 if it crashes. Linux inmates will + * dump a stack trace in this case. + */ +#define CONFIG_CRASH_CELL_ON_PANIC + +Platform specific configuration options +--------------------------------------- + +### ARM + +/* BananaPi M1 */ +#define CONFIG_MACH_BANANAPI +#define CONFIG_ARM_GIC_V2 + +/* Nvidia Jetson TK1 */ +#define CONFIG_MACH_JETSON_TK1 +#define CONFIG_ARM_GIC_V2 + +/* Xunlong Orange Pi Zero, 256 MiB */ +#define CONFIG_MACH_ORANGEPI0 +#define CONFIG_ARM_GIC_V2 + +/* ARM Versatile Express development board */ +#define CONFIG_MACH_VEXPRESS +/* VExpress supports both, GICv2 and GICv3 */ +#define CONFIG_ARM_GIC_V2 +/* #define CONFIG_ARM_GIC_V3 */ + +### ARM64 + +/* Nvidia Jetson TX1 */ +#define CONFIG_MACH_JETSON_TX1 +#define CONFIG_ARM_GIC_V2 + +/* Xilinx Zynq UltraScale+ MPSoC ZCU102 */ +#define CONFIG_MACH_ZYNQMP_ZCU102 +#define CONFIG_ARM_GIC_V2 + +/* HiKey LeMaker 2 GiB */ +#define CONFIG_MACH_HIKEY +#define CONFIG_ARM_GIC_V2 + +/* ARMv8 Foundation Model */ +#define CONFIG_MACH_FOUNDATION_V8 +#define CONFIG_ARM_GIC_V2 + +/* AMDs ARM-Opteron A1100 */ +#define CONFIG_MACH_AMD_SEATTLE +#define CONFIG_ARM_GIC_V2 -- 2.11.1 -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
