KVM: kvm_io_device: extend in_range() to manage len and write attribute
authorLaurent Vivier <Laurent.Vivier@bull.net>
Fri, 30 May 2008 14:05:53 +0000 (16:05 +0200)
committerAvi Kivity <avi@qumranet.com>
Sun, 20 Jul 2008 09:42:30 +0000 (12:42 +0300)
commit92760499d01ef91518119908eb9b8798b6c9bd3f
treea6bd80fbad82589eb5aa98f81edda4537bc1f625
parent131d82791b628d4aeafd94ddc74a9b68f3d15a83
KVM: kvm_io_device: extend in_range() to manage len and write attribute

Modify member in_range() of structure kvm_io_device to pass length and the type
of the I/O (write or read).

This modification allows to use kvm_io_device with coalesced MMIO.

Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/ia64/kvm/kvm-ia64.c
arch/x86/kvm/i8254.c
arch/x86/kvm/i8259.c
arch/x86/kvm/lapic.c
arch/x86/kvm/x86.c
include/linux/kvm_host.h
virt/kvm/ioapic.c
virt/kvm/iodev.h
virt/kvm/kvm_main.c