
6 Feb
2016
6 Feb
'16
11:27 p.m.
On 02/03/2016 03:25 PM, Andrea Bolognani wrote:
We currently blindly accept any numeric value as a GIC version, even thought 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 | 1 + src/util/virgic.c | 33 +++++++++++++++++++++++++++++++++ src/util/virgic.h | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 72 insertions(+) create mode 100644 src/util/virgic.c create mode 100644 src/util/virgic.h
Seems a bit overkill to give this its own util/ file, but I assume this may grow extra host probing bits in the future? Thanks, Cole