Re: [Qemu-devel] [PATCH 4/9] hw/intc/arm_gicv3_kvm: Get prepared to handle multiple redist regions

2018-06-14 Thread Andrew Jones
On Thu, Jun 14, 2018 at 03:48:52PM +0200, Auger Eric wrote: > Hi Drew, > > On 06/14/2018 03:39 PM, Andrew Jones wrote: > > On Wed, Jun 13, 2018 at 10:48:38AM +0200, Eric Auger wrote: > >> Let's check if KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION is supported. > >> If not, we check the number of redist re

Re: [Qemu-devel] [PATCH 4/9] hw/intc/arm_gicv3_kvm: Get prepared to handle multiple redist regions

2018-06-14 Thread Auger Eric
Hi Drew, On 06/14/2018 03:39 PM, Andrew Jones wrote: > On Wed, Jun 13, 2018 at 10:48:38AM +0200, Eric Auger wrote: >> Let's check if KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION is supported. >> If not, we check the number of redist region is equal to 1 and use the >> legacy KVM_VGIC_V3_ADDR_TYPE_REDIST at

Re: [Qemu-devel] [PATCH 4/9] hw/intc/arm_gicv3_kvm: Get prepared to handle multiple redist regions

2018-06-14 Thread Andrew Jones
On Wed, Jun 13, 2018 at 10:48:38AM +0200, Eric Auger wrote: > Let's check if KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION is supported. > If not, we check the number of redist region is equal to 1 and use the > legacy KVM_VGIC_V3_ADDR_TYPE_REDIST attribute. Otherwise we use > the new attribute and allow to

[Qemu-devel] [PATCH 4/9] hw/intc/arm_gicv3_kvm: Get prepared to handle multiple redist regions

2018-06-13 Thread Eric Auger
Let's check if KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION is supported. If not, we check the number of redist region is equal to 1 and use the legacy KVM_VGIC_V3_ADDR_TYPE_REDIST attribute. Otherwise we use the new attribute and allow to register multiple regions to the KVM device. Signed-off-by: Eric Au