Re: [PATCH v2 1/2] hw/arm/virt: Consolidate GIC finalize logic

2022-12-21 Thread Cornelia Huck
On Wed, Dec 21 2022, Alexander Graf wrote: > Up to now, the finalize_gic_version() code open coded what is essentially > a support bitmap match between host/emulation environment and desired > target GIC type. > > This open coding leads to undesirable side effects. For example, a VM with > KVM an

[PATCH v2 1/2] hw/arm/virt: Consolidate GIC finalize logic

2022-12-21 Thread Alexander Graf
Up to now, the finalize_gic_version() code open coded what is essentially a support bitmap match between host/emulation environment and desired target GIC type. This open coding leads to undesirable side effects. For example, a VM with KVM and -smp 10 will automatically choose GICv3 while the same