fix(x86): use IOMMU only when needed for passthrough

This commit is contained in:
Alex Zenla
2024-06-20 17:46:16 -07:00
parent 02b97cff6d
commit a71375e4ad
4 changed files with 9 additions and 5 deletions

View File

@ -16,7 +16,7 @@ impl UnsupportedPlatform {
#[async_trait::async_trait]
impl BootSetupPlatform for UnsupportedPlatform {
fn create_domain(&self) -> CreateDomain {
fn create_domain(&self, _: bool) -> CreateDomain {
panic!("unsupported platform")
}