Re: [PATCH v2 07/11] KVM: arm/arm64: Register iodevs when setting redist base and creating VCPUs

2017-05-17 Thread Auger Eric
Hi Christoffer, On 17/05/2017 13:18, Christoffer Dall wrote: > Hi Jean, > > On Tue, May 16, 2017 at 12:23:52PM +0100, Jean-Philippe Brucker wrote: >> Hi, >> >> On 09/05/17 09:56, Christoffer Dall wrote: >>> Instead of waiting with registering KVM iodevs until the first VCPU is >>> run, we can

Re: [PATCH v2 07/11] KVM: arm/arm64: Register iodevs when setting redist base and creating VCPUs

2017-05-17 Thread Jean-Philippe Brucker
On 17/05/17 12:18, Christoffer Dall wrote: > Hi Jean, > > On Tue, May 16, 2017 at 12:23:52PM +0100, Jean-Philippe Brucker wrote: >> Hi, >> >> On 09/05/17 09:56, Christoffer Dall wrote: >>> Instead of waiting with registering KVM iodevs until the first VCPU is >>> run, we can actually create the

Re: [PATCH v2 07/11] KVM: arm/arm64: Register iodevs when setting redist base and creating VCPUs

2017-05-17 Thread Christoffer Dall
Hi Jean, On Tue, May 16, 2017 at 12:23:52PM +0100, Jean-Philippe Brucker wrote: > Hi, > > On 09/05/17 09:56, Christoffer Dall wrote: > > Instead of waiting with registering KVM iodevs until the first VCPU is > > run, we can actually create the iodevs when the redist base address is > > set. The

Re: [PATCH v2 07/11] KVM: arm/arm64: Register iodevs when setting redist base and creating VCPUs

2017-05-16 Thread Christoffer Dall
On Tue, May 16, 2017 at 02:39:18PM +0200, Auger Eric wrote: > Hi Jean, Christoffer, > > On 16/05/2017 13:23, Jean-Philippe Brucker wrote: > > Hi, > > > > On 09/05/17 09:56, Christoffer Dall wrote: > >> Instead of waiting with registering KVM iodevs until the first VCPU is > >> run, we can

Re: [PATCH v2 07/11] KVM: arm/arm64: Register iodevs when setting redist base and creating VCPUs

2017-05-16 Thread Auger Eric
Hi Jean, Christoffer, On 16/05/2017 13:23, Jean-Philippe Brucker wrote: > Hi, > > On 09/05/17 09:56, Christoffer Dall wrote: >> Instead of waiting with registering KVM iodevs until the first VCPU is >> run, we can actually create the iodevs when the redist base address is >> set. The only

Re: [PATCH v2 07/11] KVM: arm/arm64: Register iodevs when setting redist base and creating VCPUs

2017-05-16 Thread Jean-Philippe Brucker
Hi, On 09/05/17 09:56, Christoffer Dall wrote: > Instead of waiting with registering KVM iodevs until the first VCPU is > run, we can actually create the iodevs when the redist base address is > set. The only downside is that we must now also check if we need to do > this for VCPUs which are

[PATCH v2 07/11] KVM: arm/arm64: Register iodevs when setting redist base and creating VCPUs

2017-05-09 Thread Christoffer Dall
Instead of waiting with registering KVM iodevs until the first VCPU is run, we can actually create the iodevs when the redist base address is set. The only downside is that we must now also check if we need to do this for VCPUs which are created after creating the VGIC, because there is no