Re: block virtio excessive VIRTIO_PCI_ISR reads

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

 



BTW.
The kernel I'm using has MSI-x support enabled and this same thing
also occurs on the default FC11 2.6.29.4-167 kernel.

Below is a partial dump of 'lspci -vv'.
I only pasted the output from the virtio networking device and from
the virtio block device.
You can notice that the block device doesn't have the MSI-x capability.
Is there something I can tell QEmu to add the MSI-x capability to the
virtio block device?


00:03.0 Ethernet controller: Qumranet, Inc. Virtio network device
        Subsystem: Qumranet, Inc. Device 0001
        Physical Slot: 3
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at c040 [size=32]
        Region 1: Memory at f2001000 (32-bit, non-prefetchable)
[size=4K]
        Capabilities: [40] MSI-X: Enable+ Mask- TabSize=3
                Vector table: BAR=1 offset=00000000
                PBA: BAR=1 offset=00000800
        Kernel driver in use: virtio-pci
        Kernel modules: virtio_pci


00:05.0 Mass storage controller: Qumranet, Inc. Virtio block device
        Subsystem: Qumranet, Inc. Device 0002
        Physical Slot: 5
        Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin A routed to IRQ 10
        Region 0: I/O ports at c800 [size=1K]
        Kernel driver in use: virtio-pci
        Kernel modules: virtio_pci


Thanks,
Saul



On Wed, Oct 28, 2009 at 5:04 PM, Saul Tamari <stamari@xxxxxxxxx> wrote:
> yep!
>
> What do I have to do to turn on MSI-x?
> Make this PCI capability in QEMU's virtio??
>
>
> Thanks,
> Saul
>
>
> On Wed, Oct 28, 2009 at 4:59 PM, Michael Tokarev <mjt@xxxxxxxxxx> wrote:
> [snip]
>>
>> So the next question is how to use MSI-x.. ;)
>>
>> Thanks!
>>
>> /mjt
>>
>
--
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