[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: |
Richard Henderson |
Subject: |
Re: [PATCH v3 2/6] hw/arm/virt: Introduce VirtGICType enum type |
Date: |
Mon, 2 Mar 2020 09:00:35 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
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 <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: Richard Henderson <address@hidden>
r~
- [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