mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-05 14:11:32 +00:00
krata: implement event notifications
This commit is contained in:
@ -15,7 +15,7 @@ use crate::runtime::cfgblk::ConfigBlock;
|
||||
use crate::runtime::image::{cache::ImageCache, name::ImageName, ImageCompiler, ImageInfo};
|
||||
use crate::runtime::RuntimeContext;
|
||||
|
||||
use super::GuestInfo;
|
||||
use super::{GuestInfo, GuestState};
|
||||
|
||||
pub struct GuestLaunchRequest<'a> {
|
||||
pub image: &'a str,
|
||||
@ -192,6 +192,7 @@ impl GuestLauncher {
|
||||
IpAddr::V6(guest_ipv6),
|
||||
ipv6_network_mask as u8,
|
||||
)?),
|
||||
state: GuestState { exit_code: None },
|
||||
}),
|
||||
Err(error) => {
|
||||
let _ = context.autoloop.unloop(&image_squashfs_loop.path);
|
||||
|
Reference in New Issue
Block a user