mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-20 06:51:15 +00:00
hypervisor: drop Send+Sync bounds for PlatformEmulator
Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
parent
439823e7ea
commit
a64bdcf3f5
@ -99,7 +99,7 @@ pub enum EmulationError<T: Debug> {
|
|||||||
/// A CpuState is an architecture specific type, representing a CPU state.
|
/// A CpuState is an architecture specific type, representing a CPU state.
|
||||||
/// The emulator and its instruction handlers modify a given CPU state and
|
/// The emulator and its instruction handlers modify a given CPU state and
|
||||||
/// eventually ask the platform to commit it back through `set_cpu_state`.
|
/// eventually ask the platform to commit it back through `set_cpu_state`.
|
||||||
pub trait PlatformEmulator: Send + Sync {
|
pub trait PlatformEmulator {
|
||||||
type CpuState: Clone;
|
type CpuState: Clone;
|
||||||
|
|
||||||
/// Read guest memory into a u8 slice.
|
/// Read guest memory into a u8 slice.
|
||||||
|
Loading…
Reference in New Issue
Block a user