hypervisor: drop Send+Sync bounds for PlatformEmulator

Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
Wei Liu 2022-06-20 15:06:34 +00:00 committed by Rob Bradford
parent 439823e7ea
commit a64bdcf3f5

View File

@ -99,7 +99,7 @@ pub enum EmulationError<T: Debug> {
/// 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.