]> xenbits.xensource.com Git - libvirt.git/commit
qemu: make vdpa connect function more generic
authorJonathon Jongsma <jjongsma@redhat.com>
Tue, 30 May 2023 20:33:46 +0000 (15:33 -0500)
committerJonathon Jongsma <jjongsma@redhat.com>
Tue, 12 Sep 2023 16:06:41 +0000 (11:06 -0500)
commit0ebb416d7ef38febb5690db8676e7bb52edc4980
tree0f66fff824b3fd73265a1ff102c25eb6134fcf1a
parent6cf7dbeff8ab9bd5c18bd88d59bf3133d3679a6e
qemu: make vdpa connect function more generic

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@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_command.c
src/qemu/qemu_command.h
src/qemu/qemu_interface.c
src/qemu/qemu_interface.h
tests/qemuhotplugmock.c
tests/qemuxml2argvmock.c