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>
Showing
- arch/ia64/kvm/kvm-ia64.c 3 additions, 3 deletionsarch/ia64/kvm/kvm-ia64.c
- arch/x86/kvm/i8254.c 4 additions, 2 deletionsarch/x86/kvm/i8254.c
- arch/x86/kvm/i8259.c 2 additions, 1 deletionarch/x86/kvm/i8259.c
- arch/x86/kvm/lapic.c 2 additions, 1 deletionarch/x86/kvm/lapic.c
- arch/x86/kvm/x86.c 17 additions, 11 deletionsarch/x86/kvm/x86.c
- include/linux/kvm_host.h 2 additions, 1 deletioninclude/linux/kvm_host.h
- virt/kvm/ioapic.c 2 additions, 1 deletionvirt/kvm/ioapic.c
- virt/kvm/iodev.h 5 additions, 3 deletionsvirt/kvm/iodev.h
- virt/kvm/kvm_main.c 3 additions, 2 deletionsvirt/kvm/kvm_main.c
Loading
Please register or sign in to comment