mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-03 21:21:32 +00:00
Use native loopdev implementation instead of loopdev-3 (#209)
* feature(loopdev): add native loop device implementation The previous loop device implementation required bindgen for no reason, making cross-compilation difficult. Signed-off-by: Ariadne Conill <ariadne@ariadne.space> * feat(runtime): use native krata-loopdev instead of loopdev-3 Signed-off-by: Ariadne Conill <ariadne@ariadne.space> * chore: update cargo workspace lock file Signed-off-by: Ariadne Conill <ariadne@ariadne.space> * chore: appease formatting linter Signed-off-by: Ariadne Conill <ariadne@ariadne.space> --------- Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
use std::{sync::Arc, time::Duration};
|
||||
|
||||
use anyhow::{anyhow, Result};
|
||||
use krataloopdev::{LoopControl, LoopDevice};
|
||||
use log::debug;
|
||||
use loopdev::{LoopControl, LoopDevice};
|
||||
use tokio::time::sleep;
|
||||
use xenclient::BlockDeviceRef;
|
||||
|
||||
|
@ -3,8 +3,8 @@ use std::{fs, net::Ipv4Addr, path::PathBuf, str::FromStr, sync::Arc};
|
||||
use anyhow::{anyhow, Result};
|
||||
use ip::IpVendor;
|
||||
use ipnetwork::{IpNetwork, Ipv4Network, Ipv6Network};
|
||||
use krataloopdev::LoopControl;
|
||||
use log::error;
|
||||
use loopdev::LoopControl;
|
||||
use tokio::sync::Semaphore;
|
||||
use uuid::Uuid;
|
||||
use xenclient::XenClient;
|
||||
|
Reference in New Issue
Block a user