]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuBuildVirtioDevStr: Extract code for determining device model
authorPeter Krempa <pkrempa@redhat.com>
Thu, 30 Sep 2021 08:29:35 +0000 (10:29 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 12 Oct 2021 08:26:01 +0000 (10:26 +0200)
commit65d014fbf6aec319500c078227b8a94c33914a9d
treed2d254d3e35abdd9148669e1a85fa2833448bb2c
parent085d9b40a653bb15a195fec4feb7372dcbf1e5c8
qemuBuildVirtioDevStr: Extract code for determining device model

Extract the code into 'qemuBuildVirtioDevGetConfig' so that we can
later reuse it when converting individual device code into the more
modern JSON approach as the extracted code will be necessary either way.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_command.c