]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: minor refactor of video device string handling
authorJonathon Jongsma <jjongsma@redhat.com>
Thu, 11 Jul 2019 21:05:32 +0000 (16:05 -0500)
committerJán Tomko <jtomko@redhat.com>
Fri, 12 Jul 2019 14:54:32 +0000 (16:54 +0200)
commit062b4a4cd735d28f5bb33ca4f2950a681d662839
tree8f3984dbf001f3ce0c0092cd602212d0538719bc
parent87050bcededb3f9bad75bd1c3878b476687acd82
qemu: minor refactor of video device string handling

In preparation for adding the bochs display device, refactor the logic
so that each branch handles a single device type and checks its
parameters within that branch. In this case VGA and VMVGA are still
grouped into the same branch since they share device-specific parameter
names.

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_command.c