mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
hypervisor: Add Misc register to Save/Restore state for MSHV
Hypercall register needs to be saved and restored for TLB flush and IPI synthetic features enablement. Enabling these two synthetic features improves guest performance. Signed-off-by: Muminul Islam <muislam@microsoft.com>
This commit is contained in:
@@ -174,6 +174,16 @@ pub enum HypervisorCpuError {
|
||||
#[error("Failed to get debug registers: {0}")]
|
||||
GetDebugRegs(#[source] anyhow::Error),
|
||||
///
|
||||
/// Setting misc register error
|
||||
///
|
||||
#[error("Failed to set misc registers: {0}")]
|
||||
SetMiscRegs(#[source] anyhow::Error),
|
||||
///
|
||||
/// Getting misc register error
|
||||
///
|
||||
#[error("Failed to get misc registers: {0}")]
|
||||
GetMiscRegs(#[source] anyhow::Error),
|
||||
///
|
||||
/// Write to Guest Mem
|
||||
///
|
||||
#[error("Failed to write to Guest Mem at: {0}")]
|
||||
|
||||
Reference in New Issue
Block a user