]> xenbits.xensource.com Git - libvirt.git/commit
qemu: default video device type selection algoritm moved into its own function
authorPavel Mores <pmores@redhat.com>
Mon, 25 Nov 2019 10:54:23 +0000 (11:54 +0100)
committerCole Robinson <crobinso@redhat.com>
Mon, 25 Nov 2019 13:47:08 +0000 (08:47 -0500)
commitb648d962894a52c444675f3c2022b97e97c246ae
tree675e67790301a2d1255c0917a2839e0a89c11458
parent68aa7f38511e880260e5ff7448c5888ce4742279
qemu: default video device type selection algoritm moved into its own function

The default video device type selection algorithm we're about to deploy will
increase the amount of code dedicated to the task by amount enough to warrant
factoring the whole thing into its own function so as not to pollute the
caller qemuDomainDeviceVideoDefPostParse().  Do it now so that the actual
algorithm change later on is in a clean commit by itself and easy to review.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Pavel Mores <pmores@redhat.com>
src/qemu/qemu_domain.c