commit | 600f1ec3761671307935a583c46f17fff0fa9b72 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yjwei@cn.fujitsu.com> | Fri Mar 12 10:11:15 2010 +0800 |
committer | Avi Kivity <avi@redhat.com> | Mon May 17 12:15:33 2010 +0300 |
tree | 7a723ff9233098b9636aac57dbdf44176bc81ba9 | |
parent | 160d2f6c0c90713aa3bb93dd344fe0d527342e26 [diff] |
KVM: ia64: 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 <yjwei@cn.fujitsu.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>