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(a)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(a)redhat.com>