Re: [kvmarm] [RFC PATCH 0/3] KVM: ARM: Get rid of hardcoded VGIC addresses

2012-10-23 Thread Paul Mackerras
On Tue, Oct 23, 2012 at 12:48:28PM +0200, Jan Kiszka wrote: > The current irqchip API is like this: > > KVM_CREATE_IRQCHIP (without any parameters) > ... > KVM_CREATE_VCPU > KVM_SET_IRQCHIP (or the other way around) > ... > KVM_RUN > > The arguments you cannot pass via KVM_CREATE_IRQCHIP - which

Re: [kvmarm] [RFC PATCH 0/3] KVM: ARM: Get rid of hardcoded VGIC addresses

2012-10-23 Thread Jan Kiszka
On 2012-10-23 13:04, Peter Maydell wrote: > On 23 October 2012 12:00, Jan Kiszka wrote: >> BTW, I guess we will regret that one-reg ABI one day and have to >> introduce a multi-reg version again for hot-standby, i.e. continuous >> state migration. I know we also do this for c86 MSRs - that interfa

Re: [kvmarm] [RFC PATCH 0/3] KVM: ARM: Get rid of hardcoded VGIC addresses

2012-10-23 Thread Peter Maydell
On 23 October 2012 12:00, Jan Kiszka wrote: > BTW, I guess we will regret that one-reg ABI one day and have to > introduce a multi-reg version again for hot-standby, i.e. continuous > state migration. I know we also do this for c86 MSRs - that interface > has the same limitation. The multi-reg AB

Re: [kvmarm] [RFC PATCH 0/3] KVM: ARM: Get rid of hardcoded VGIC addresses

2012-10-23 Thread Jan Kiszka
On 2012-10-23 12:52, Peter Maydell wrote: > On 23 October 2012 11:48, Jan Kiszka wrote: >> The current irqchip API is like this: >> >> KVM_CREATE_IRQCHIP (without any parameters) >> ... >> KVM_CREATE_VCPU >> KVM_SET_IRQCHIP (or the other way around) >> ... >> KVM_RUN >> >> The arguments you cannot

Re: [kvmarm] [RFC PATCH 0/3] KVM: ARM: Get rid of hardcoded VGIC addresses

2012-10-23 Thread Peter Maydell
On 23 October 2012 11:48, Jan Kiszka wrote: > The current irqchip API is like this: > > KVM_CREATE_IRQCHIP (without any parameters) > ... > KVM_CREATE_VCPU > KVM_SET_IRQCHIP (or the other way around) > ... > KVM_RUN > > The arguments you cannot pass via KVM_CREATE_IRQCHIP - which is more > like a

Re: [kvmarm] [RFC PATCH 0/3] KVM: ARM: Get rid of hardcoded VGIC addresses

2012-10-23 Thread Jan Kiszka
On 2012-10-18 15:48, Christoffer Dall wrote: > On Wed, Oct 17, 2012 at 7:58 PM, Benjamin Herrenschmidt > wrote: >> On Thu, 2012-10-18 at 09:10 +1100, Paul Mackerras wrote: >>> >>> With the XICS, there are two types of irqchip: a source controller and >>> a presentation controller. There is one pr