Rust Rewrite Index

libvirt

virtualization library

Rust efforts

Research record · 2026-11-29

Searched libvirt daemon and library Rust ports, RPC implementations and official bindings. libvirt-rpc implements the protocol in Rust without the C library, while libvirt-rust wraps the C API. Neither is a demonstrated replacement for libvirt’s hypervisor drivers and management daemons; no full daemon port surfaced in the reviewed sources.

Original source check. The packaged source tree includes 1 files with the .rs suffix. This covers the Debian 13 snapshot and excludes common vendor directories. Independent repositories are outside this count.

Rust component

libvirt-rpc

Rust implementation of the libvirt RPC protocol for clients, not a rewrite of libvirt’s daemons or drivers.

Evidence checked 2026-11-29

Project structure

libvirt exposes a long-term stable API that can be used to interact with various hypervisors. Its architecture is highly modular, with most features implemented as optional drivers. It can be used from C as well as several other programming languages, and it forms the basis of virtualization solutions tailored for a range of use cases.

Inside the source tree

Source files by extension in this snapshot · C (658), Python (46), Rust (1), C++ (1)

Selected components packaged from this source in Debian 13.

  • libvirt0 · virtualization library
  • libvirt-l10n · virtualization library - localization files
  • libnss-libvirt · virtualization library - NSS plugins
  • libvirt-daemon · virtualization daemon
  • libvirt-clients · virtualization library - clients
  • libvirt-sanlock · transitional dummy package