Make my life a bit easier and report the correct function names. s/kvm_commit_irq_routes/kvm_irqchip_commit_routes Signed-off-by: Richard Weinberger <richard@xxxxxx> --- hw/device-assignment.c | 4 ++-- hw/msi.c | 2 +- hw/msix.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hw/device-assignment.c b/hw/device-assignment.c index 1daadb9..09726f9 100644 --- a/hw/device-assignment.c +++ b/hw/device-assignment.c @@ -958,7 +958,7 @@ static void assigned_dev_update_msi(PCIDevice *pci_dev) kvm_add_routing_entry(kvm_state, assigned_dev->entry); if (kvm_irqchip_commit_routes(kvm_state) < 0) { - perror("assigned_dev_update_msi: kvm_commit_irq_routes"); + perror("assigned_dev_update_msi: kvm_irqchip_commit_routes"); assigned_dev->cap.state &= ~ASSIGNED_DEVICE_MSI_ENABLED; return; } @@ -1053,7 +1053,7 @@ static int assigned_dev_update_msix_mmio(PCIDevice *pci_dev) } if (r == 0 && kvm_irqchip_commit_routes(kvm_state) < 0) { - perror("assigned_dev_update_msix_mmio: kvm_commit_irq_routes"); + perror("assigned_dev_update_msix_mmio: kvm_irqchip_commit_routes"); return -EINVAL; } diff --git a/hw/msi.c b/hw/msi.c index 4fcf769..1a20e83 100644 --- a/hw/msi.c +++ b/hw/msi.c @@ -180,7 +180,7 @@ static void kvm_msi_update(PCIDevice *dev) if (changed) { r = kvm_irqchip_commit_routes(kvm_state); if (r) { - fprintf(stderr, "%s: kvm_commit_irq_routes failed: %s\n", __func__, + fprintf(stderr, "%s: kvm_irqchip_commit_routes failed: %s\n", __func__, strerror(-r)); exit(1); } diff --git a/hw/msix.c b/hw/msix.c index 5515a32..34b7455 100644 --- a/hw/msix.c +++ b/hw/msix.c @@ -91,7 +91,7 @@ static void kvm_msix_update(PCIDevice *dev, int vector, *entry = new_entry; r = kvm_irqchip_commit_routes(kvm_state); if (r) { - fprintf(stderr, "%s: kvm_commit_irq_routes failed: %s\n", __func__, + fprintf(stderr, "%s: kvm_irqchip_commit_routes failed: %s\n", __func__, strerror(-r)); exit(1); } @@ -112,7 +112,7 @@ static int kvm_msix_vector_add(PCIDevice *dev, unsigned vector) r = kvm_irqchip_commit_routes(kvm_state); if (r < 0) { - fprintf(stderr, "%s: kvm_commit_irq_routes failed: %s\n", __func__, strerror(-r)); + fprintf(stderr, "%s: kvm_irqchip_commit_routes failed: %s\n", __func__, strerror(-r)); return r; } return 0; -- 1.7.3.1 -- 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