Files
kata-containers/src/dragonball
Alex Lyn b4768cfc61 dragonball: Adapt VFIO DMA calls to vfio-ioctls 0.6 API
The vfio-ioctls 0.6.0 crate changed the vfio_dma_map signature: the
host address parameter is now a raw pointer (*mut u8) instead of u64,
and the size parameter is usize instead of u64. Since the kernel uses
the host address to set up DMA mappings to physical memory — and the
caller must guarantee the memory behind that pointer remains valid for
the lifetime of the mapping — upstream marked vfio_dma_map as unsafe fn.

Wrap vfio_dma_map calls in unsafe blocks and adjust the type casts
accordingly. vfio_dma_unmap only needed the usize cast for the size
parameter (it does not take a host address, so it remains safe).

Bump workspace dependencies:
- vfio-bindings 0.6.1 -> 0.6.2
- vfio-ioctls 0.5.0 -> 0.6.0

Signed-off-by: Alex Lyn <alex.lyn@antgroup.com>
Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com>
2026-05-07 10:33:26 +02:00
..
2026-02-10 21:58:28 +01:00

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

TODO

Documentation

Currently, the documents are still actively adding. You could see the official documentation page for more details.

Supported Architectures

  • x86-64
  • aarch64

Supported Kernel

TODO

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.