]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: command: Make BuildVirtioDevStr more generic
authorCole Robinson <crobinso@redhat.com>
Tue, 22 Jan 2019 21:15:03 +0000 (16:15 -0500)
committerCole Robinson <crobinso@redhat.com>
Thu, 24 Jan 2019 23:59:38 +0000 (18:59 -0500)
commit429f5454d570b5fca4b40338502bea724e31db99
treee8243501c5f5bcd9174584eca679905abf4e6aef
parent4a4c4181109bdf8b552a35facb957f33ce9eb1be
qemu: command: Make BuildVirtioDevStr more generic

Switch qemuBuildVirtioDevStr to use virDomainDeviceSetData: callers
pass in the virDomainDeviceType and the void * DefPtr. This will
save us from having to repeatedly extend the function argument
list in subsequent patches.

Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
src/qemu/qemu_command.c