Skip to contentSkip to conversation

KVM: Remove stale comment about KVM_REQ_UNHALT

PATCH Applied Sean Christopherson 2 participants 3 messages Dec 1, 2022 – Dec 23, 2022 KVM

lore
Share & tools
lore

Sean Christopherson

author reviewer
#0 lore raw

PATCH 1/1 KVM: Remove stale comment about KVM_REQ_UNHALT

Remove a comment about KVM_REQ_UNHALT being set by kvm_vcpu_check_block() that was missed when KVM_REQ_UNHALT was dropped.

Fixes c59fb1275838 ("KVM: remove KVM_REQ_UNHALT")
---
 virt/kvm/kvm_main.c | 4 ----
 1 file changed, 4 deletions(-)
virt/kvm/kvm_main.c +0 -4
index 1782c4555d94..1401dcba2f82 100644
@@ -3518,10 +3518,6 @@ void kvm_vcpu_halt(struct kvm_vcpu *vcpu)
 		ktime_t stop = ktime_add_ns(start, vcpu->halt_poll_ns);
 
 		do {
-			/*
-			 * This sets KVM_REQ_UNHALT if an interrupt
-			 * arrives.
-			 */
 			if (kvm_vcpu_check_block(vcpu) < 0)
 				goto out;
 			cpu_relax();

base-commit: df0bb47baa95aad133820b149851d5b94cbc6790

Signature · 1 line
2.39.0.rc0.267.gcb52ba06e7-goog