]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: fix MMIO/PIO collision misdetection
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 4 Apr 2013 10:27:21 +0000 (13:27 +0300)
committerGleb Natapov <gleb@redhat.com>
Sun, 7 Apr 2013 11:53:47 +0000 (14:53 +0300)
commit319c36fcad43b6529d222b2b11491317ae5e6793
treed84ca956c581c7657c21d495062354d8fb1a349c
parentec2452bc3b30e2ae41521389f545e06f202b5fde
kvm: fix MMIO/PIO collision misdetection

PIO and MMIO are separate address spaces, but
ioeventfd registration code mistakenly detected
two eventfds as duplicate if they use the same address,
even if one is PIO and another one MMIO.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
virt/kvm/eventfd.c