KVM: x86: Drop obsolete warning about INIT on runnable VCPU
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 1 Feb 2011 12:27:15 +0000 (13:27 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 17 Mar 2011 16:08:28 +0000 (13:08 -0300)
This warning was once used for debugging QEMU user space. Though
uncommon, it is actually possible to send an INIT request to a running
VCPU. So better drop this warning before someone misuses it to flood
kernel logs this way.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/lapic.c

index 93cf9d0d36532621495dea80d5cd28589a5de15d..0171e66e99947bc0e059b35bf89b9c59933a3aeb 100644 (file)
@@ -417,10 +417,6 @@ static int __apic_accept_irq(struct kvm_lapic *apic, int delivery_mode,
        case APIC_DM_INIT:
                if (level) {
                        result = 1;
-                       if (vcpu->arch.mp_state == KVM_MP_STATE_RUNNABLE)
-                               printk(KERN_DEBUG
-                                      "INIT on a runnable vcpu %d\n",
-                                      vcpu->vcpu_id);
                        vcpu->arch.mp_state = KVM_MP_STATE_INIT_RECEIVED;
                        kvm_make_request(KVM_REQ_EVENT, vcpu);
                        kvm_vcpu_kick(vcpu);