----- Original Message ----- > From: "Stefan Hajnoczi" <stefa...@redhat.com> > 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 <stefa...@redhat.com> > Reviewed-by: Sergio Lopez <s...@redhat.com> > --- > 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 <th...@redhat.com>