Re: [PATCH v3 1/5] KVM: Redesign kvm_io_bus_ API to pass VCPU structure to the callbacks.

2015-01-24 Thread Paolo Bonzini
On 24/01/2015 12:59, Nikolay Nikolaev wrote: > This is needed in e.g. ARM vGIC emulation, where the MMIO handling > depends on the VCPU that does the access. > > Signed-off-by: Nikolay Nikolaev > --- > arch/powerpc/kvm/mpic.c| 10 ++ > arch/powerpc/kvm/powerpc.c |4 ++-- > ar

[PATCH v3 1/5] KVM: Redesign kvm_io_bus_ API to pass VCPU structure to the callbacks.

2015-01-24 Thread Nikolay Nikolaev
This is needed in e.g. ARM vGIC emulation, where the MMIO handling depends on the VCPU that does the access. Signed-off-by: Nikolay Nikolaev --- arch/powerpc/kvm/mpic.c| 10 ++ arch/powerpc/kvm/powerpc.c |4 ++-- arch/s390/kvm/diag.c |2 +- arch/x86/kvm/i8254.c