On 05/08/2011 10:48 PM, Sasha Levin wrote:
> On Sun, 2011-05-08 at 22:29 +0400, Cyrill Gorcunov wrote:
>> Index: linux-2.6.git/tools/kvm/virtio/rng.c
>> =====================================================================
>> --- linux-2.6.git.orig/tools/kvm/virtio/rng.c
>> +++ linux-2.6.git/tools/kvm/virtio/rng.c
>> @@ -178,5 +178,5 @@ void virtio_rng__init(struct kvm *kvm)
>> virtio_rng_pci_device.irq_line = line;
>> pci__register(&virtio_rng_pci_device, dev);
>>
>> - ioport__register(IOPORT_VIRTIO_RNG, &virtio_rng_io_ops,
>> IOPORT_VIRTIO_RNG_SIZE);
>> + ioport__register(PCI_DEVICE_VIRTIO_RNG, &virtio_rng_io_ops,
>> IOPORT_VIRTIO_RNG_SIZE);
>> }
>
> I think you wanted to change irq__register_device, not ioport__register
> in virtio-rng.
>
Good catch Sasha, thanks!
--
Cyrill
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html