]> xenbits.xensource.com Git - libvirt.git/commit
gic: Introduce VIR_GIC_VERSION_DEFAULT alias
authorAndrea Bolognani <abologna@redhat.com>
Thu, 18 Feb 2016 15:13:42 +0000 (16:13 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 19 Feb 2016 17:24:58 +0000 (18:24 +0100)
commitd8fc7e05f8f5d5c5f793d7fb54e895f25f9394ef
treeab001ad276011e0a9682f638f7ac58b2ffb4bbea
parentff0e2ebde2a8d2443196fe010f3b93b8c189bdaf
gic: Introduce VIR_GIC_VERSION_DEFAULT alias

GIC v2 is the default, but checking against that specific version when
we want to know whether the default has been selected is potentially
error prone; using an alias instead makes it safer.
src/qemu/qemu_command.c
src/qemu/qemu_domain.c
src/util/virgic.h