]> 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)
commit648c30176addafe55b2c3a2df04455832270fff6
treed84ca956c581c7657c21d495062354d8fb1a349c
parentfddd0b823ca7445c790ff7b46f4b6cf7cca8acd4
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