cloud-hypervisor/hypervisor/src
Philipp Schuster 8696bc6604 misc: hypervisor: streamline #[source] and Error
This streamlines the code base to follow best practices for
error handling in Rust: Each error struct implements
std::error::Error (most due via thiserror::Error derive macro)
and sets its source accordingly.

This allows future work that nicely prints the error chains,
for example.

So far, the convention is that each error prints its
sub error as part of its Display::fmt() impl.

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
On-behalf-of: SAP philipp.schuster@sap.com
2025-05-21 09:09:30 +00:00
..
arch misc: hypervisor: streamline #[source] and Error 2025-05-21 09:09:30 +00:00
kvm hypervisor: Basic implementation of setup_regs for MSHV ARM64 guests 2025-04-23 07:42:29 +00:00
mshv misc: Fix beta clippy issues 2025-05-14 03:44:12 +00:00
cpu.rs vmm: hypervisor: Add a new interface to setup GICR for vcpus 2025-05-05 09:57:21 +00:00
device.rs hypervisor, vmm: use new vfio-ioctls 2022-07-21 23:37:53 +01:00
hypervisor.rs misc: hypervisor: streamline #[source] and Error 2025-05-21 09:09:30 +00:00
lib.rs hypervisor: Enable MSHV compilation on ARM64 2025-04-16 03:36:12 +00:00
vm.rs build: Bump mshv crates from 0.4.0 to 0.5.0 2025-05-05 17:42:30 +00:00