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)
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>

No differences found