KVM: VMX: Avoid to return ENOTSUPP to userland
authorJan Kiszka <jan.kiszka@web.de>
Wed, 22 Jul 2009 21:53:01 +0000 (23:53 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:17 +0000 (08:33 +0300)
commit7f582ab6d8116ce8db5792c219a278519deae6ad
tree9e56993b6280726f56a25f4833e8fd2c4304cb04
parente601e3be7a5324fcfd34fdb8796688cfe48bd0fe
KVM: VMX: Avoid to return ENOTSUPP to userland

Choose some allowed error values for the cases VMX returned ENOTSUPP so
far as these values could be returned by the KVM_RUN IOCTL.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/vmx.c