From: Anthoine Bourgeois Date: Wed, 22 Apr 2020 21:54:55 +0000 (+0200) Subject: virtio-pci: update virtio pci bar layout documentation X-Git-Tag: v5.1.0-rc0~145^2~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e6779156a44846053f662157a12ed366568c2cff;p=thirdparty%2Fqemu.git virtio-pci: update virtio pci bar layout documentation The modern io bar was never documented. Signed-off-by: Anthoine Bourgeois Message-Id: <20200422215455.10244-2-anthoine.bourgeois@gmail.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Reviewed-by: Gerd Hoffmann --- diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c index 4cb784389c5..d028c17c240 100644 --- a/hw/virtio/virtio-pci.c +++ b/hw/virtio/virtio-pci.c @@ -1705,6 +1705,7 @@ static void virtio_pci_realize(PCIDevice *pci_dev, Error **errp) * * region 0 -- virtio legacy io bar * region 1 -- msi-x bar + * region 2 -- virtio modern io bar (off by default) * region 4+5 -- virtio modern memory (64bit) bar * */