mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-21 20:08:54 +00:00
- Add kata-runtime - Add unit test - Add Makefile to build cli Fixes: #33 Signed-off-by: Julio Montes <julio.montes@intel.com> Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com> Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
143 lines
5.0 KiB
TOML
143 lines
5.0 KiB
TOML
# XXX: WARNING: this file is auto-generated.
|
|
# XXX:
|
|
# XXX: Source file: "@CONFIG_IN@"
|
|
# XXX: Project:
|
|
# XXX: Name: @PROJECT_NAME@
|
|
# XXX: Type: @PROJECT_TYPE@
|
|
|
|
[hypervisor.qemu]
|
|
path = "@QEMUPATH@"
|
|
kernel = "@KERNELPATH@"
|
|
image = "@IMAGEPATH@"
|
|
machine_type = "@MACHINETYPE@"
|
|
|
|
# Optional space-separated list of options to pass to the guest kernel.
|
|
# For example, use `kernel_params = "vsyscall=emulate"` if you are having
|
|
# trouble running pre-2.15 glibc.
|
|
#
|
|
# WARNING: - any parameter specified here will take priority over the default
|
|
# parameter value of the same name used to start the virtual machine.
|
|
# Do not set values here unless you understand the impact of doing so as you
|
|
# may stop the virtual machine from booting.
|
|
# To see the list of default parameters, enable hypervisor debug, create a
|
|
# container and look for 'default-kernel-parameters' log entries.
|
|
kernel_params = "@KERNELPARAMS@"
|
|
|
|
# Path to the firmware.
|
|
# If you want that qemu uses the default firmware leave this option empty
|
|
firmware = "@FIRMWAREPATH@"
|
|
|
|
# Machine accelerators
|
|
# comma-separated list of machine accelerators to pass to the hypervisor.
|
|
# For example, `machine_accelerators = "nosmm,nosmbus,nosata,nopit,static-prt,nofw"`
|
|
machine_accelerators="@MACHINEACCELERATORS@"
|
|
|
|
# Default number of vCPUs per POD/VM:
|
|
# unspecified or 0 --> will be set to @DEFVCPUS@
|
|
# < 0 --> will be set to the actual number of physical cores
|
|
# > 0 <= number of physical cores --> will be set to the specified number
|
|
# > number of physical cores --> will be set to the actual number of physical cores
|
|
default_vcpus = 1
|
|
|
|
|
|
# Bridges can be used to hot plug devices.
|
|
# Limitations:
|
|
# * Currently only pci bridges are supported
|
|
# * Until 30 devices per bridge can be hot plugged.
|
|
# * Until 5 PCI bridges can be cold plugged per VM.
|
|
# This limitation could be a bug in qemu or in the kernel
|
|
# Default number of bridges per POD/VM:
|
|
# unspecified or 0 --> will be set to @DEFBRIDGES@
|
|
# > 1 <= 5 --> will be set to the specified number
|
|
# > 5 --> will be set to 5
|
|
default_bridges = @DEFBRIDGES@
|
|
|
|
# Default memory size in MiB for POD/VM.
|
|
# If unspecified then it will be set @DEFMEMSZ@ MiB.
|
|
#default_memory = @DEFMEMSZ@
|
|
|
|
# Disable block device from being used for a container's rootfs.
|
|
# In case of a storage driver like devicemapper where a container's
|
|
# root file system is backed by a block device, the block device is passed
|
|
# directly to the hypervisor for performance reasons.
|
|
# This flag prevents the block device from being passed to the hypervisor,
|
|
# 9pfs is used instead to pass the rootfs.
|
|
disable_block_device_use = @DEFDISABLEBLOCK@
|
|
|
|
# Block storage driver to be used for the hypervisor in case the container
|
|
# rootfs is backed by a block device. This is either virtio-scsi or
|
|
# virtio-blk.
|
|
block_device_driver = "@DEFBLOCKSTORAGEDRIVER@"
|
|
|
|
# Enable pre allocation of VM RAM, default false
|
|
# Enabling this will result in lower container density
|
|
# as all of the memory will be allocated and locked
|
|
# This is useful when you want to reserve all the memory
|
|
# upfront or in the cases where you want memory latencies
|
|
# to be very predictable
|
|
# Default false
|
|
#enable_mem_prealloc = true
|
|
|
|
# Enable huge pages for VM RAM, default false
|
|
# Enabling this will result in the VM memory
|
|
# being allocated using huge pages.
|
|
# This is useful when you want to use vhost-user network
|
|
# stacks within the container. This will automatically
|
|
# result in memory pre allocation
|
|
#enable_hugepages = true
|
|
|
|
# Enable swap of vm memory. Default false.
|
|
# The behaviour is undefined if mem_prealloc is also set to true
|
|
#enable_swap = true
|
|
|
|
# This option changes the default hypervisor and kernel parameters
|
|
# to enable debug output where available. This extra output is added
|
|
# to the proxy logs, but only when proxy debug is also enabled.
|
|
#
|
|
# Default false
|
|
#enable_debug = true
|
|
|
|
# Disable the customizations done in the runtime when it detects
|
|
# that it is running on top a VMM. This will result in the runtime
|
|
# behaving as it would when running on bare metal.
|
|
#
|
|
#disable_nesting_checks = true
|
|
|
|
[proxy.@PROJECT_TYPE@]
|
|
path = "@PROXYPATH@"
|
|
|
|
# If enabled, proxy messages will be sent to the system log
|
|
# (default: disabled)
|
|
#enable_debug = true
|
|
|
|
[shim.@PROJECT_TYPE@]
|
|
path = "@SHIMPATH@"
|
|
|
|
# If enabled, shim messages will be sent to the system log
|
|
# (default: disabled)
|
|
#enable_debug = true
|
|
|
|
[agent.@PROJECT_TYPE@]
|
|
# There is no field for this section. The goal is only to be able to
|
|
# specify which type of agent the user wants to use.
|
|
|
|
[runtime]
|
|
# If enabled, the runtime will log additional debug messages to the
|
|
# system log
|
|
# (default: disabled)
|
|
#enable_debug = true
|
|
#
|
|
# Internetworking model
|
|
# Determines how the VM should be connected to the
|
|
# the container network interface
|
|
# Options:
|
|
#
|
|
# - bridged
|
|
# Uses a linux bridge to interconnect the container interface to
|
|
# the VM. Works for most cases except macvlan and ipvlan.
|
|
#
|
|
# - macvtap
|
|
# Used when the Container network interface can be bridged using
|
|
# macvtap.
|
|
internetworking_model="@DEFNETWORKMODEL@"
|