[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1421665620.3610.13.camel@nilsson.home.kraxel.org>
Date: Mon, 19 Jan 2015 12:07:00 +0100
From: Gerd Hoffmann <kraxel@...hat.com>
To: "Michael S. Tsirkin" <mst@...hat.com>
Cc: linux-kernel@...r.kernel.org,
virtualization@...ts.linux-foundation.org
Subject: Re: [PATCH v3 00/16] virtio-pci: towards virtio 1.0 guest support
Hi,
> BTW: is there a tool (or pciutils patch) which can decode the virtio
> capabilities?
Searched for a patch today, and all google found me was this mail asking
for one :-o
So I went ahead and coded one up. Attached.
While hacking it up I've noticed spec doesn't match reality. The
"Virtio Structure PCI Capabilities" section here ...
http://docs.oasis-open.org/virtio/virtio/v1.0/cs01/virtio-v1.0-cs01.html#x1-690004
... doesn't match what qemu is doing. Huh?
Also note:
[root@...ora ~]# ~kraxel/projects/pciutils/lspci -vvsa
00:0a.0 Communication controller: Red Hat, Inc Virtio console
[ ... ]
Capabilities: [64] VirtIO: Notify
BAR=2 offset=00003000 size=00400000
multiplier=00010000
[ ... ]
Why multiplier is 64k instead of 4k? Just a tyops?
cheers,
Gerd
View attachment "0001-add-virtio-vendor-caps.patch" of type "text/x-patch" (3355 bytes)
Powered by blists - more mailing lists