Re: [PATCH] KVM: fix the errno of ioctl KVM_[UN]REGISTER_COALESCED_MMIO failure

2010-03-15 Thread Marcelo Tosatti
On Fri, Mar 12, 2010 at 12:59:06PM +0800, Wei Yongjun wrote: > 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 Applied all, thanks. -- To unsubscribe from this list: send the line "unsu

[PATCH] KVM: fix the errno of ioctl KVM_[UN]REGISTER_COALESCED_MMIO failure

2010-03-11 Thread Wei Yongjun
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 --- virt/kvm/coalesced_mmio.c |4 ++-- virt/kvm/kvm_main.c |2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/v