22 lines
600 B
Rust
22 lines
600 B
Rust
//! Shared image-backed memory cards. Guest operations use RAM snapshots; only the
|
|
//! shared IO worker owns storage during a publication. Legacy per-slot files are
|
|
//! intentionally neither read nor migrated by this service.
|
|
pub mod admission;
|
|
pub mod guest;
|
|
pub mod image;
|
|
pub mod session;
|
|
pub mod transaction;
|
|
|
|
#[derive(Default)]
|
|
pub struct MemcardService {
|
|
pub session: session::Session,
|
|
pub lane: std::sync::Arc<crate::AsyncWorkLane>,
|
|
pub admission: admission::Admission,
|
|
pub diagnostic: String,
|
|
}
|
|
impl MemcardService {
|
|
pub fn new() -> Self {
|
|
Self::default()
|
|
}
|
|
}
|