We provide plenty API for Kata runtime to interact with Dragonball virtual machine manager.
This document provides the introduction for each of them.
Configure the boot source of the VM using BootSourceConfig. This action can only be called before the VM has booted.
kernel_path: Path of the kernel image.Dragonballonly supports compressed kernel image for now.initrd_path: Path of the initrd (could be None)boot_args: Boot arguments passed to the kernel (could be None)
Set virtual machine configuration using VmConfigInfo to initialize VM.
vcpu_count: Number of vCPU to start. Currently we only support up to 255 vCPUs.max_vcpu_count: Max number of vCPU can be added through CPU hotplug.cpu_pm: CPU power management.cpu_topology: CPU topology information (includingthreads_per_core,cores_per_die,dies_per_socketandsockets).vpmu_feature:vPMUfeature level.mem_type: Memory type that can be eitherhugetlbfsorshmem, default isshmem.mem_file_path: Memory file path.mem_size_mib: The memory size in MiB. The maximum memory size is 1TB.serial_path: Optional sock path.