Re: [PATCH] kvm: don't take vcpu mutex for obviously invalid vcpu ioctls

From: Marcelo Tosatti
Date: Mon Sep 22 2014 - 19:00:54 EST


On Mon, Sep 22, 2014 at 11:29:16PM +0200, Paolo Bonzini wrote:
> Il 22/09/2014 22:08, Marcelo Tosatti ha scritto:
> > > This patch does not change functionality, it just makes invalid ioctls
> > > fail faster.
> >
> > Should not be executing vcpu ioctls without interrupt KVM_RUN in the
> > first place.
>
> This is not entirely true, there are a couple of asynchronous ioctls
> though they are not used on x86 (commit 2122ff5eab8f, KVM: move vcpu
> locking to dispatcher for generic vcpu ioctls, 2010-05-13).
>
> Paolo

Alright.

s/Should not be executing vcpu ioctls/Should not be executing vcpu
ioctls which take vcpu mutex/


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/