diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2011-02-01 07:27:15 -0500 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2011-03-17 12:08:28 -0400 |
commit | 0bb8865979629a9dfc6761f8f4d47926d539daa0 (patch) | |
tree | da78334bc7721ee42940a3f19c98bd0aca12bfa5 | |
parent | 12f9a48f7bf5bfe6620b03028a865f26a10e1fce (diff) |
KVM: x86: Drop obsolete warning about INIT on runnable VCPU
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>
-rw-r--r-- | arch/x86/kvm/lapic.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c index 93cf9d0d3653..0171e66e9994 100644 --- a/arch/x86/kvm/lapic.c +++ b/arch/x86/kvm/lapic.c | |||
@@ -417,10 +417,6 @@ static int __apic_accept_irq(struct kvm_lapic *apic, int delivery_mode, | |||
417 | case APIC_DM_INIT: | 417 | case APIC_DM_INIT: |
418 | if (level) { | 418 | if (level) { |
419 | result = 1; | 419 | result = 1; |
420 | if (vcpu->arch.mp_state == KVM_MP_STATE_RUNNABLE) | ||
421 | printk(KERN_DEBUG | ||
422 | "INIT on a runnable vcpu %d\n", | ||
423 | vcpu->vcpu_id); | ||
424 | vcpu->arch.mp_state = KVM_MP_STATE_INIT_RECEIVED; | 420 | vcpu->arch.mp_state = KVM_MP_STATE_INIT_RECEIVED; |
425 | kvm_make_request(KVM_REQ_EVENT, vcpu); | 421 | kvm_make_request(KVM_REQ_EVENT, vcpu); |
426 | kvm_vcpu_kick(vcpu); | 422 | kvm_vcpu_kick(vcpu); |