src/dragonball/docs/api.md
We provide plenty API for Kata runtime to interact with Dragonball virtual machine manager.
This document provides the introduction for each of them.
ConfigureBootSourceConfigure 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. Dragonball only 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)SetVmConfigurationSet 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 (including threads_per_core, cores_per_die, dies_per_socket and sockets).vpmu_feature: vPMU feature level.mem_type: Memory type that can be either hugetlbfs or shmem, default is shmem.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.