Skip to content

Commit b581c8d

Browse files
committed
[driver/kvm] added more info to KVM exit to resemble hyperv_windows
e.g., register values, etc. Signed-off-by: danbugs <[email protected]>
1 parent a65529e commit b581c8d

File tree

1 file changed

+3
-2
lines changed
  • src/hyperlight_host/src/hypervisor

1 file changed

+3
-2
lines changed

src/hyperlight_host/src/hypervisor/kvm.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,8 +569,9 @@ impl Hypervisor for KVMDriver {
569569
}
570570
},
571571
Ok(other) => {
572-
crate::debug!("KVM Other Exit {:?}", other);
573-
HyperlightExit::Unknown(format!("Unexpected KVM Exit {:?}", other))
572+
let err_msg = format!("Unexpected KVM Exit {:?}", other);
573+
crate::debug!("KVM Other Exit Details: {:#?}", &self);
574+
HyperlightExit::Unknown(err_msg)
574575
}
575576
};
576577
Ok(result)

0 commit comments

Comments
 (0)