]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: use enum variable for video type
authorJonathon Jongsma <jjongsma@redhat.com>
Thu, 10 Feb 2022 16:51:00 +0000 (10:51 -0600)
committerJonathon Jongsma <jjongsma@redhat.com>
Wed, 8 Mar 2023 19:05:05 +0000 (13:05 -0600)
commit464a87ec52a7e2a3f4d07bf7a94f044b9ae22469
tree2aabbfeee8b48c4a86e96c8162771e8474b79f5c
parentbecdee88c3ca1bb23fe88c4f0d6f298db3cd3414
conf: use enum variable for video type

Rather than storing the video type as an integer, use the proper enum
type within the struct.

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libxl/libxl_conf.c
src/libxl/libxl_domain.c
src/qemu/qemu_monitor_json.c
src/qemu/qemu_process.c