libhyp: Make DeviceAssigningHypervisor pub
Bug: 277993056
Test: atest libpvmfw.device_assignment.test, launch protected VM
Change-Id: I7d25f88d252a55fff3b381160a5655d2c2fe944c
diff --git a/libs/hyp/src/hypervisor.rs b/libs/hyp/src/hypervisor.rs
index 3d42ccb..c53b886 100644
--- a/libs/hyp/src/hypervisor.rs
+++ b/libs/hyp/src/hypervisor.rs
@@ -24,7 +24,9 @@
use crate::error::{Error, Result};
use alloc::boxed::Box;
use common::Hypervisor;
-pub use common::{MemSharingHypervisor, MmioGuardedHypervisor, MMIO_GUARD_GRANULE_SIZE};
+pub use common::{
+ DeviceAssigningHypervisor, MemSharingHypervisor, MmioGuardedHypervisor, MMIO_GUARD_GRANULE_SIZE,
+};
pub use geniezone::GeniezoneError;
use geniezone::GeniezoneHypervisor;
use gunyah::GunyahHypervisor;
@@ -34,8 +36,6 @@
use smccc::hvc64;
use uuid::Uuid;
-use self::common::DeviceAssigningHypervisor;
-
enum HypervisorBackend {
RegularKvm,
Gunyah,