commit | 8453fecbecae26edb3f278627376caab05d9a88d | [log] [tgz] |
---|---|---|
author | Jason Wang <jasowang@redhat.com> | Tue Sep 15 14:41:54 2015 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Sep 15 16:58:27 2015 +0200 |
tree | 26c18feae38a64a5247132dca8a328c49740b06e | |
parent | 81523aac01a7f68af2576800c8623edfb6323017 [diff] |
kvm: don't try to register to KVM_FAST_MMIO_BUS for non mmio eventfd We only want zero length mmio eventfd to be registered on KVM_FAST_MMIO_BUS. So check this explicitly when arg->len is zero to make sure this. Cc: stable@vger.kernel.org Cc: Gleb Natapov <gleb@kernel.org> Cc: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>