KVM: Remove stale comment about KVM_REQ_UNHALT
authorSean Christopherson <seanjc@google.com>
Thu, 1 Dec 2022 22:04:33 +0000 (22:04 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 2 Dec 2022 18:00:28 +0000 (13:00 -0500)
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")
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20221201220433.31366-1-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
virt/kvm/kvm_main.c

index 1782c45..1401dcb 100644 (file)
@@ -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();