[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 16/16] libqos: add VIRTIO PCI 1.0 support
From: |
Thomas Huth |
Subject: |
Re: [PATCH v4 16/16] libqos: add VIRTIO PCI 1.0 support |
Date: |
Wed, 23 Oct 2019 07:22:42 -0400 (EDT) |
----- Original Message -----
> From: "Stefan Hajnoczi" <address@hidden>
> Sent: Wednesday, October 23, 2019 12:04:25 PM
>
> Implement the VIRTIO 1.0 virtio-pci interface. The main change here is
> that the register layout is no longer a fixed layout in BAR 0. Instead
> we have to iterate of PCI Capabilities to find descriptions of where
> various registers are located. The vring registers are also more
> fine-grained, allowing for more flexible vring layouts, but we don't
> take advantage of that.
>
> Signed-off-by: Stefan Hajnoczi <address@hidden>
> Reviewed-by: Sergio Lopez <address@hidden>
> ---
> tests/Makefile.include | 1 +
> tests/libqos/virtio-pci-modern.h | 17 ++
> tests/libqos/virtio-pci.h | 10 +
> tests/libqos/virtio-pci-modern.c | 443 +++++++++++++++++++++++++++++++
> tests/libqos/virtio-pci.c | 6 +-
> 5 files changed, 476 insertions(+), 1 deletion(-)
> create mode 100644 tests/libqos/virtio-pci-modern.h
> create mode 100644 tests/libqos/virtio-pci-modern.c
Acked-by: Thomas Huth <address@hidden>
- [PATCH v4 08/16] libqos: implement VIRTIO 1.0 FEATURES_OK step, (continued)
- [PATCH v4 08/16] libqos: implement VIRTIO 1.0 FEATURES_OK step, Stefan Hajnoczi, 2019/10/23
- [PATCH v4 10/16] libqos: add iteration support to qpci_find_capability(), Stefan Hajnoczi, 2019/10/23
- [PATCH v4 09/16] libqos: access VIRTIO 1.0 vring in little-endian, Stefan Hajnoczi, 2019/10/23
- [PATCH v4 11/16] libqos: pass full QVirtQueue to set_queue_address(), Stefan Hajnoczi, 2019/10/23
- [PATCH v4 12/16] libqos: add MSI-X callbacks to QVirtioPCIDevice, Stefan Hajnoczi, 2019/10/23
- [PATCH v4 13/16] libqos: expose common virtqueue setup/cleanup functions, Stefan Hajnoczi, 2019/10/23
- [PATCH v4 14/16] libqos: make the virtio-pci BAR index configurable, Stefan Hajnoczi, 2019/10/23
- [PATCH v4 15/16] libqos: extract Legacy virtio-pci.c code, Stefan Hajnoczi, 2019/10/23
- [PATCH v4 16/16] libqos: add VIRTIO PCI 1.0 support, Stefan Hajnoczi, 2019/10/23
- Re: [PATCH v4 16/16] libqos: add VIRTIO PCI 1.0 support,
Thomas Huth <=
- Re: [PATCH v4 00/16] libqos: add VIRTIO PCI 1.0 support, Michael S. Tsirkin, 2019/10/25