Re: [PATCH 4/4] kvm tools: Implement MSI-X for virtio-rng

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 28, 2011 at 12:01 PM, Sasha Levin <levinsasha928@xxxxxxxxx> wrote:
> @@ -163,8 +167,21 @@ static bool virtio_rng_pci_io_out(struct ioport *ioport, struct kvm *kvm, u16 po
>                rdev->status            = ioport__read8(data);
>                break;
>        case VIRTIO_MSI_CONFIG_VECTOR:
> -               rdev->config_vector     = VIRTIO_MSI_NO_VECTOR;
> +               rdev->config_vector     = ioport__read16(data);
>                break;
> +       case VIRTIO_MSI_QUEUE_VECTOR:
> +       {

Nit: the curly brace should be on the same line as 'case' keyword.

> +               u32 gsi;
> +               u32 vec;
> +
--
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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux