[libvirt PATCH 3/5] qemu: make vdpa connect function more generic

Peter Krempa pkrempa at redhat.com
Thu Jun 8 09:12:19 UTC 2023


On Tue, Jun 06, 2023 at 16:11:02 -0500, Jonathon Jongsma wrote:
> qemuInterfaceVDPAConnect() was a helper function for connecting to the
> vdpa device file. But in order to support other vdpa devices besides
> network interfaces (e.g. vdpa block devices) make this function a bit
> more generic.
> 
> Signed-off-by: Jonathon Jongsma <jjongsma at redhat.com>
> ---
>  src/qemu/qemu_command.c   | 23 ++++++++++++++++++++++-
>  src/qemu/qemu_command.h   |  1 +
>  src/qemu/qemu_interface.c | 23 -----------------------
>  src/qemu/qemu_interface.h |  2 --
>  tests/qemuhotplugmock.c   |  4 ++--
>  tests/qemuxml2argvmock.c  |  2 +-
>  6 files changed, 26 insertions(+), 29 deletions(-)

Reviewed-by: Peter Krempa <pkrempa at redhat.com>


More information about the libvir-list mailing list