--- zzzz-none-000/linux-3.10.107/virt/kvm/coalesced_mmio.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/virt/kvm/coalesced_mmio.c 2021-02-04 17:41:59.000000000 +0000 @@ -8,7 +8,7 @@ * */ -#include "iodev.h" +#include #include #include @@ -60,8 +60,9 @@ return 1; } -static int coalesced_mmio_write(struct kvm_io_device *this, - gpa_t addr, int len, const void *val) +static int coalesced_mmio_write(struct kvm_vcpu *vcpu, + struct kvm_io_device *this, gpa_t addr, + int len, const void *val) { struct kvm_coalesced_mmio_dev *dev = to_mmio(this); struct kvm_coalesced_mmio_ring *ring = dev->kvm->coalesced_mmio_ring;