]> git.ipfire.org Git - thirdparty/libvirt.git/commit
gic: Introduce virGICVersion enumeration
authorAndrea Bolognani <abologna@redhat.com>
Wed, 3 Feb 2016 11:49:51 +0000 (12:49 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 16 Feb 2016 13:58:58 +0000 (14:58 +0100)
commite76bef7f7ba3abe5c3e075c7ec5cec127c5ff4e5
treefbb671afec04a034b4e4148c7d87c3f5808c3ab2
parent8fbdff163456b6311cd459017b6087ff5081bd56
gic: Introduce virGICVersion enumeration

We currently blindly accept any numeric value as a GIC version, even
though only GIC v2 and GIC v3 actually exist; on the other hand, we
reject "host", which is a perfectly legitimate value for QEMU guests.

This new enumeration contains all GIC versions libvirt is aware of.
src/Makefile.am
src/util/virgic.c [new file with mode: 0644]
src/util/virgic.h [new file with mode: 0644]