Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/hyperlight_host/src/hypervisor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ impl LinuxInterruptHandle {
break;
}

log::info!("Sending signal to kill vcpu thread...");
tracing::info!("Sending signal to kill vcpu thread...");
sent_signal = true;
// Acquire ordering to synchronize with the Release store in set_tid()
// This ensures we see the correct tid value for the currently running vcpu
Expand Down Expand Up @@ -376,7 +376,7 @@ impl InterruptHandleImpl for WindowsInterruptHandle {
guard.dropped = true;
}
Err(e) => {
log::error!("Failed to acquire partition_state write lock: {}", e);
tracing::error!("Failed to acquire partition_state write lock: {}", e);
}
}
}
Expand Down Expand Up @@ -404,7 +404,7 @@ impl InterruptHandle for WindowsInterruptHandle {
let guard = match self.partition_state.read() {
Ok(guard) => guard,
Err(e) => {
log::error!("Failed to acquire partition_state read lock: {}", e);
tracing::error!("Failed to acquire partition_state read lock: {}", e);
return false;
}
};
Expand Down Expand Up @@ -432,7 +432,7 @@ impl InterruptHandle for WindowsInterruptHandle {
let guard = match self.partition_state.read() {
Ok(guard) => guard,
Err(e) => {
log::error!("Failed to acquire partition_state read lock: {}", e);
tracing::error!("Failed to acquire partition_state read lock: {}", e);
return false;
}
};
Expand All @@ -449,7 +449,7 @@ impl InterruptHandle for WindowsInterruptHandle {
match self.partition_state.read() {
Ok(guard) => guard.dropped,
Err(e) => {
log::error!("Failed to acquire partition_state read lock: {}", e);
tracing::error!("Failed to acquire partition_state read lock: {}", e);
true // Assume dropped if we can't acquire lock
}
}
Expand Down
Loading