On Tue, Mar 12, 2013 at 01:06:59PM +0100, Paolo Bonzini wrote: > > @@ -6171,6 +6169,7 @@ int kvm_arch_vcpu_ioctl_get_sregs(struct kvm_vcpu *vcpu, > > int kvm_arch_vcpu_ioctl_get_mpstate(struct kvm_vcpu *vcpu, > > struct kvm_mp_state *mp_state) > > { > > + kvm_apic_accept_events(vcpu); > > Is this racy against __vcpu_run? > FWIW both of them are vcpu ioctl and thus run under vcpu mutex. -- Gleb. -- 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