cloud-hypervisor SAL + rhai test script for it

This commit is contained in:
Maxime Van Hees
2025-08-20 18:01:21 +02:00
parent d1c80863b8
commit d735316b7f
7 changed files with 782 additions and 13 deletions

View File

@@ -9,6 +9,7 @@ pub mod buildah;
pub mod nerdctl;
pub mod rfs;
pub mod qcow2;
pub mod cloudhv;
/// Register all Virt module functions with the Rhai engine
///
@@ -32,6 +33,9 @@ pub fn register_virt_module(engine: &mut Engine) -> Result<(), Box<EvalAltResult
// Register QCOW2 module functions
qcow2::register_qcow2_module(engine)?;
// Register Cloud Hypervisor module functions
cloudhv::register_cloudhv_module(engine)?;
Ok(())
}
@@ -40,3 +44,4 @@ pub use buildah::{bah_new, register_bah_module};
pub use nerdctl::register_nerdctl_module;
pub use rfs::register_rfs_module;
pub use qcow2::register_qcow2_module;
pub use cloudhv::register_cloudhv_module;