mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
hypervisor: mshv: Override hypervisor R/W behavior for unknown MSR
By default Microsoft Hypervisor send a GP to the guest if it tries read/write an unimplemented MSR from the hypervisor prospective. Instead change this behavior to ignore read/write operations for unimplemented MSRs Signed-off-by: Jinank Jain <jinankjain@microsoft.com>
This commit is contained in:
@@ -66,6 +66,11 @@ pub enum HypervisorError {
|
||||
///
|
||||
#[error("Failed to retrieve TDX capabilities:{0}")]
|
||||
TdxCapabilities(#[source] anyhow::Error),
|
||||
///
|
||||
/// Failed to set partition property
|
||||
///
|
||||
#[error("Failed to set partition property:{0}")]
|
||||
SetPartitionProperty(#[source] anyhow::Error),
|
||||
}
|
||||
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user