qcow2 SAL + rhai script to test functionality

This commit is contained in:
Maxime Van Hees
2025-08-20 14:44:29 +02:00
parent 078c6f723b
commit 33a5f24981
6 changed files with 429 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ use rhai::{Engine, EvalAltResult};
pub mod buildah;
pub mod nerdctl;
pub mod rfs;
pub mod qcow2;
/// Register all Virt module functions with the Rhai engine
///
@@ -28,6 +29,9 @@ pub fn register_virt_module(engine: &mut Engine) -> Result<(), Box<EvalAltResult
// Register RFS module functions
rfs::register_rfs_module(engine)?;
// Register QCOW2 module functions
qcow2::register_qcow2_module(engine)?;
Ok(())
}
@@ -35,3 +39,4 @@ pub fn register_virt_module(engine: &mut Engine) -> Result<(), Box<EvalAltResult
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;