mirror of
https://github.com/edera-dev/krata.git
synced 2026-11-04 21:22:20 +00:00
fix(xenclient): examples should use supported platform
This commit is contained in:
3 files changed
+10
-7
No files matched your search
@@ -42,7 +42,7 @@ async fn create_domain(client: &XenClient, kernel: Arc<Vec<u8>>, i: u32) -> Resu
|
||||
let mut config = DomainConfig::new();
|
||||
config.platform(PlatformDomainConfig {
|
||||
uuid: Uuid::new_v4(),
|
||||
platform: RuntimePlatformType::Pv,
|
||||
platform: RuntimePlatformType::supported(),
|
||||
kernel: PlatformKernelConfig {
|
||||
data: kernel,
|
||||
format: KernelFormat::ElfUncompressed,
|
||||
|
||||
Reference in new issue
Block a user