From: Wei Yongjun Date: Fri, 12 Mar 2010 02:09:45 +0000 (+0800) Subject: KVM: x86: fix the error of ioctl KVM_IRQ_LINE if no irq chip X-Git-Tag: v2.6.35-rc1~436^2~186 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=160d2f6c0c90713aa3bb93dd344fe0d527342e26;p=pandora-kernel.git KVM: x86: fix the error of ioctl KVM_IRQ_LINE if no irq chip If no irq chip in kernel, ioctl KVM_IRQ_LINE will return -EFAULT. But I see in other place such as KVM_[GET|SET]IRQCHIP, -ENXIO is return. So this patch used -ENXIO instead of -EFAULT. Signed-off-by: Wei Yongjun Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed