]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: validate: Enforce compile time switch type checking for videos
authorErik Skultety <eskultet@redhat.com>
Thu, 28 Jun 2018 08:55:47 +0000 (10:55 +0200)
committerErik Skultety <eskultet@redhat.com>
Mon, 9 Jul 2018 16:59:24 +0000 (18:59 +0200)
commit767f9e1449b1a36111532847f0c62dc758263c42
treeb733c7918926b8894704c718d921d4504902260a
parent75aa179ad68f5845955128b9f047a43c8e5c9066
qemu: validate: Enforce compile time switch type checking for videos

There wasn't an explicit type case to the video type enum in
qemuDomainDeviceDefValidateVideo, _TYPE_GOP was also missing from the
switch.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/conf/domain_conf.h
src/qemu/qemu_domain.c