Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
0vercl0k committed May 23, 2024
1 parent b0d3793 commit 88c0421
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/wtf/kvm_backend.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1499,7 +1499,10 @@ bool KvmBackend_t::OnExitDebug(struct kvm_debug_exit_arch &Debug) {
// https://github.com/torvalds/linux/commit/94fe45da48f921d01d8ff02a0ad54ee9c326d7f0
//

SetRegs(Run_->s.regs.regs);
if (!SetRegs(Run_->s.regs.regs)) {
fmt::print("Failed to flush regs before turning on TF\n");
return false;
}

//
// We just flushed the GPRs to the vcpu, no need to do that again when
Expand Down

0 comments on commit 88c0421

Please sign in to comment.