]> git.ipfire.org Git - thirdparty/qemu.git/commit
libqos: make the virtio-pci BAR index configurable
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 23 Oct 2019 10:04:23 +0000 (11:04 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 25 Oct 2019 11:46:22 +0000 (07:46 -0400)
commitf17429e545dae46fbe85eebd89fec4e720a1e241
treea7a0205403e5785b83eee1925c319f2a789b7d70
parente56536bc8b897efdf069c25e68202e521cdcbb49
libqos: make the virtio-pci BAR index configurable

The Legacy virtio-pci interface always uses BAR 0.  VIRTIO 1.0 may need
to use a different BAR index, so make it configurable.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20191023100425.12168-15-stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/libqos/virtio-pci.c
tests/libqos/virtio-pci.h