From: Asias He <asias.hejun@xxxxxxxxx> Reanme callback_mmio_table to virtio_pci__mmio_callback Signed-off-by: Asias He <asias.hejun@xxxxxxxxx> --- tools/kvm/virtio/pci.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/kvm/virtio/pci.c b/tools/kvm/virtio/pci.c index bdc09f5..8558341e 100644 --- a/tools/kvm/virtio/pci.c +++ b/tools/kvm/virtio/pci.c @@ -208,7 +208,7 @@ static struct ioport_operations virtio_pci__io_ops = { .io_out = virtio_pci__io_out, }; -static void callback_mmio_table(u64 addr, u8 *data, u32 len, u8 is_write, void *ptr) +static void virtio_pci__mmio_callback(u64 addr, u8 *data, u32 len, u8 is_write, void *ptr) { struct virtio_pci *vpci = ptr; void *table; @@ -287,7 +287,7 @@ int virtio_pci__init(struct kvm *kvm, void *dev, struct virtio_device *vdev, vpci->base_addr = (u16)r; r = kvm__register_mmio(kvm, vpci->msix_io_block, PCI_IO_SIZE, false, - callback_mmio_table, vpci); + virtio_pci__mmio_callback, vpci); if (r < 0) goto free_ioport; -- 1.7.7.6 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html