KVM: fix the errno of ioctl KVM_[UN]REGISTER_COALESCED_MMIO failure
authorWei Yongjun <yjwei@cn.fujitsu.com>
Fri, 12 Mar 2010 04:59:06 +0000 (12:59 +0800)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:15:34 +0000 (12:15 +0300)
This patch change the errno of ioctl KVM_[UN]REGISTER_COALESCED_MMIO
from -EINVAL to -ENXIO if no coalesced mmio dev exists.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

No differences found