Map BlockConfigModern.discard_unmap to Dragonball block device sparse support when adding modern block devices. This lets runtime-rs request guest-visible discard support through the Dragonball block device configuration while leaving vhost-user block devices disabled. Signed-off-by: Alex Lyn <alex.lyn@antgroup.com>
Introduction
Dragonball Sandbox is a light-weight virtual machine manager (VMM) based on Linux Kernel-based Virtual Machine (KVM),
which is optimized for container workloads with:
- container image management and acceleration service
- flexible and high-performance virtual device drivers
- low CPU and memory overhead
- minimal startup time
- optimized concurrent startup speed
Dragonball Sandbox aims to provide a simple solution for the Kata Containers community. It is integrated into Kata 3.0
runtime as a built-in VMM and gives users an out-of-the-box Kata Containers experience without complex environment setup
and configuration process.
Getting Started
Documentation
- Device: Device Document
- vCPU: vCPU Document
- API: API Document
Upcall:UpcallDocumentdbs_acpi:dbs_acpiDocumentdbs_address_space:dbs_address_spaceDocumentdbs_allocator:dbs_allocatorDocumentdbs_arch:dbs_archDocumentdbs_boot:dbs_bootDocumentdbs_device:dbs_deviceDocumentdbs_interrupt:dbs_interrputDocumentdbs_legacy_devices:dbs_legacy_devicesDocumentdbs_upcall:dbs_upcallDocumentdbs_utils:dbs_utilsDocumentdbs_virtio_devices:dbs_virtio_devicesDocumentdbs_pci:dbc_pciDocument
Currently, the documents are still actively adding. You could see the official documentation page for more details.
Supported Architectures
- x86-64
- aarch64
Supported Kernel
Acknowledgement
Part of the code is based on the Cloud Hypervisor project, crosvm project and Firecracker project. They are all rust written virtual machine managers with advantages on safety and security.
Dragonball sandbox is designed to be a VMM that is customized for Kata Containers and we will focus on optimizing container workloads for Kata ecosystem. The focus on the Kata community is what differentiates us from other rust written virtual machines.
License
Dragonball is licensed under Apache License, Version 2.0.