[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 2/6] hw/arm/virt: Introduce VirtGICType enum type
From: |
Andrew Jones |
Subject: |
Re: [PATCH v3 2/6] hw/arm/virt: Introduce VirtGICType enum type |
Date: |
Mon, 2 Mar 2020 13:14:19 +0100 |
On Mon, Mar 02, 2020 at 11:55:12AM +0100, 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 <address@hidden>
>
> ---
>
> 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: Andrew Jones <address@hidden>
- [PATCH v3 0/6] hw/arm/virt: kvm: allow gicv3 by default if v2 cannot work, Eric Auger, 2020/03/02
- [PATCH v3 1/6] hw/arm/virt: Document 'max' value in gic-version property description, Eric Auger, 2020/03/02
- [PATCH v3 4/6] target/arm/kvm: Let kvm_arm_vgic_probe() return a bitmap, Eric Auger, 2020/03/02
- [PATCH v3 2/6] hw/arm/virt: Introduce VirtGICType enum type, Eric Auger, 2020/03/02
- [PATCH v3 3/6] hw/arm/virt: Introduce finalize_gic_version(), Eric Auger, 2020/03/02
- [PATCH v3 5/6] hw/arm/virt: kvm: Check the chosen gic version is supported by the host, Eric Auger, 2020/03/02
- [PATCH v3 6/6] hw/arm/virt: kvm: allow gicv3 by default if v2 cannot work, Eric Auger, 2020/03/02