chore(xen): split platform support into separate crate (#195)

This commit is contained in:
Alex Zenla
2024-06-21 01:10:45 -07:00
committed by GitHub
parent 23c7302c04
commit 6f39f115b7
23 changed files with 136 additions and 45 deletions

View File

@ -22,10 +22,10 @@ pub mod ip;
pub mod launch;
#[cfg(target_arch = "x86_64")]
type RuntimePlatform = xenclient::x86pv::X86PvPlatform;
type RuntimePlatform = xenplatform::x86pv::X86PvPlatform;
#[cfg(not(target_arch = "x86_64"))]
type RuntimePlatform = xenclient::unsupported::UnsupportedPlatform;
type RuntimePlatform = xenplatform::unsupported::UnsupportedPlatform;
pub struct GuestLoopInfo {
pub device: String,