mips/kvm: Use ENOIOCTLCMD to indicate unimplemented ioctls.
authorDavid Daney <david.daney@cavium.com>
Thu, 23 May 2013 16:49:10 +0000 (09:49 -0700)
committerGleb Natapov <gleb@redhat.com>
Mon, 3 Jun 2013 07:58:55 +0000 (10:58 +0300)
The Linux Way is to return -ENOIOCTLCMD to the vfs when an
unimplemented ioctl is requested.  Do this in kvm_mips instead of a
random mixture of -ENOTSUPP and -EINVAL.

Signed-off-by: David Daney <david.daney@cavium.com>
Acked-by: Sanjay Lal <sanjayl@kymasys.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

No differences found