mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
hypervisor: Architecture agnostic instruction emulation interface
In order to emulate instructions, we need a way to get access to some of the guest resources. The PlatformEmulator interface provides guest memory and CPU state access to emulator implementations. Typically, an hypervisor will implement PlatformEmulator for architecture specific instruction emulators to build their framework on top of. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
@@ -11,5 +11,7 @@
|
||||
// Copyright © 2020, Microsoft Corporation
|
||||
//
|
||||
|
||||
pub mod emulator;
|
||||
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
pub mod x86;
|
||||
|
||||
Reference in New Issue
Block a user