On 04/16/2012 01:08 PM, Gleb Natapov wrote: > > } > > > > + > > + if (kvm_para_has_feature(KVM_FEATURE_EOI)) { > > + kvm_guest_native_apic_write = apic->write; > > + apic->write = kvm_guest_apic_write; > > + wrmsrl(MSR_KVM_EOI_EN, __pa(&__get_cpu_var(apic_eoi))); > > + } > Can happen on more then one cpu. After it happens on two kvm_guest_apic_write() > will call to itself. It's also hacky. Try static_cpu_has() in the apic code (and add an eoi method). -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html