]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_command: Switch from VIR_ENUM_IMPL(qemuDeviceVideoSecondary) to explicit switch()
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 11 Jun 2021 12:42:22 +0000 (14:42 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 11 Jun 2021 19:53:44 +0000 (21:53 +0200)
commitbdb0bfe8f8e1fd0f131a8f82e4ac7314d4f30e27
tree5c2390193f84f06b9cce62596e4a3b81e8cca54e
parent104271c084a875292ca2e41f09e77f1df8371220
qemu_command: Switch from VIR_ENUM_IMPL(qemuDeviceVideoSecondary) to explicit switch()

This may look like a step backwards, but it isn't. The point is
that in near future the chosen model will depend on more than
just video type.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_command.c