Commit-ID: 9820b0f1a27527a59aa286eb211089a5da438c99 Gitweb: http://git.kernel.org/tip/9820b0f1a27527a59aa286eb211089a5da438c99 Author: William Dauchy <william@xxxxxxxxx> AuthorDate: Wed, 24 Oct 2012 14:51:03 +0200 Committer: Pekka Enberg <penberg@xxxxxxxxxx> CommitDate: Fri, 26 Oct 2012 18:29:31 +0300 kvm tools: use the correct config vector interrupt when registering the config interrupt, the later is registered in vcpi->config_vector and not in vpci->vq_vector introduced in: a841f15 kvm tools: Use the new KVM_SIGNAL_MSI ioctl to inject interrupts directly. Acked-by: Sasha Levin <levinsasha928@xxxxxxxxx> Signed-off-by: William Dauchy <william@xxxxxxxxx> Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxx> --- tools/kvm/virtio/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/kvm/virtio/pci.c b/tools/kvm/virtio/pci.c index b6ac571..3acaa3a 100644 --- a/tools/kvm/virtio/pci.c +++ b/tools/kvm/virtio/pci.c @@ -286,7 +286,7 @@ int virtio_pci__signal_config(struct kvm *kvm, struct virtio_device *vdev) } if (vpci->features & VIRTIO_PCI_F_SIGNAL_MSI) - virtio_pci__signal_msi(kvm, vpci, vpci->vq_vector[vpci->config_vector]); + virtio_pci__signal_msi(kvm, vpci, vpci->config_vector); else kvm__irq_trigger(kvm, vpci->config_gsi); } else { -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html