File tree Expand file tree Collapse file tree
src/hyperlight_host/src/hypervisor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ use crate::hypervisor::LinuxInterruptHandle;
4545#[ cfg( crashdump) ]
4646use crate :: hypervisor:: crashdump;
4747#[ cfg( gdb) ]
48- use crate :: hypervisor:: gdb:: DebugError ;
48+ use crate :: hypervisor:: gdb:: { DebugError , DebugMemoryAccessError } ;
4949#[ cfg( gdb) ]
5050use crate :: hypervisor:: hyperlight_vm:: debug:: ProcessDebugRequestError ;
5151use crate :: hypervisor:: regs:: CommonSpecialRegisters ;
@@ -894,7 +894,7 @@ impl HyperlightVm {
894894 match result {
895895 Ok ( response) => response,
896896 // Treat non fatal errors separately so the guest doesn't fail
897- Err ( ProcessDebugRequestError :: Debug ( DebugError :: TranslateGva (
897+ Err ( ProcessDebugRequestError :: ReadMemory ( DebugMemoryAccessError :: TranslateGuestAddress (
898898 _,
899899 ) ) ) => DebugResponse :: ErrorOccurred ,
900900 Err ( e) => {
@@ -938,7 +938,7 @@ impl HyperlightVm {
938938 let response = match result {
939939 Ok ( response) => response,
940940 // Treat non fatal errors separately so the guest doesn't fail
941- Err ( ProcessDebugRequestError :: Debug ( DebugError :: TranslateGva ( _) ) ) => {
941+ Err ( ProcessDebugRequestError :: ReadMemory ( DebugMemoryAccessError :: TranslateGuestAddress ( _) ) ) => {
942942 DebugResponse :: ErrorOccurred
943943 }
944944 Err ( e) => {
You can’t perform that action at this time.
0 commit comments