OSDN Git Service

vfio: Implement a common device info helper
authorAlex Williamson <alex.williamson@redhat.com>
Thu, 1 Jun 2023 14:45:06 +0000 (08:45 -0600)
committerCédric Le Goater <clg@redhat.com>
Fri, 30 Jun 2023 04:02:51 +0000 (06:02 +0200)
commit634f38f0f73f12b86a53195782b26506c107a418
treef7027e64f5315a3713a2e2900715c57e015d4e16
parent745c42912a04306e8c7765dd4cc1574a92de4446
vfio: Implement a common device info helper

A common helper implementing the realloc algorithm for handling
capabilities.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Reviewed-by: Robin Voetter <robin@streamhpc.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/s390x/s390-pci-vfio.c
hw/vfio/common.c
include/hw/vfio/vfio-common.h