KVM: s390: Fix return code for unknown ioctl numbers
authorCarsten Otte <cotte@de.ibm.com>
Wed, 4 Jan 2012 09:25:30 +0000 (10:25 +0100)
committerAvi Kivity <avi@redhat.com>
Mon, 5 Mar 2012 12:52:21 +0000 (14:52 +0200)
commit3e6afcf1d8ce6bca6bfa62a49c1d70d2f16162eb
tree7783fc9f41f929c48187b0fc73acc8ba8f3adc31
parent1efd0f595ab9d10fef1486dfdef952107c91f3db
KVM: s390: Fix return code for unknown ioctl numbers

This patch fixes the return code of kvm_arch_vcpu_ioctl in case
of an unkown ioctl number.

Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/s390/kvm/kvm-s390.c