On 3/2/20 2:55 AM, Eric Auger wrote: > We plan to introduce yet another value for the gic version (nosel). > As we already use exotic values such as 0 and -1, let's introduce > a dedicated enum type and let vms->gic_version take this > type. > > Signed-off-by: Eric Auger <eric.au...@redhat.com> > > --- > > v2 -> v3: > - replaced defines by enum VirtGICType > - use that new type for vms->gic_version > --- > hw/arm/virt.c | 30 +++++++++++++++--------------- > include/hw/arm/virt.h | 11 +++++++++-- > 2 files changed, 24 insertions(+), 17 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~