diff --git a/hypervisor/src/arch/emulator/mod.rs b/hypervisor/src/arch/emulator/mod.rs index 078f65525..507918c95 100644 --- a/hypervisor/src/arch/emulator/mod.rs +++ b/hypervisor/src/arch/emulator/mod.rs @@ -99,7 +99,7 @@ pub enum EmulationError { /// A CpuState is an architecture specific type, representing a CPU state. /// The emulator and its instruction handlers modify a given CPU state and /// eventually ask the platform to commit it back through `set_cpu_state`. -pub trait PlatformEmulator: Send + Sync { +pub trait PlatformEmulator { type CpuState: Clone; /// Read guest memory into a u8 slice.