Re: [PATCH v7 08/11] KVM: arm64: introduce vcpu-arch.debug_ptr

2015-07-03 Thread Christoffer Dall
On Wed, Jul 01, 2015 at 07:29:00PM +0100, Alex Bennée wrote: This introduces a level of indirection for the debug registers. Instead of using the sys_regs[] directly we store registers in a structure in the vcpu. The new kvm_arm_reset_debug_ptr() sets the debug ptr to the guest context.

Re: [PATCH v7 08/11] KVM: arm64: introduce vcpu-arch.debug_ptr

2015-07-03 Thread Christoffer Dall
On Fri, Jul 03, 2015 at 08:14:52AM +0100, Alex Bennée wrote: Christoffer Dall christoffer.d...@linaro.org writes: On Wed, Jul 01, 2015 at 07:29:00PM +0100, Alex Bennée wrote: This introduces a level of indirection for the debug registers. Instead of using the sys_regs[] directly we

Re: [PATCH v7 08/11] KVM: arm64: introduce vcpu-arch.debug_ptr

2015-07-03 Thread Alex Bennée
Christoffer Dall christoffer.d...@linaro.org writes: On Wed, Jul 01, 2015 at 07:29:00PM +0100, Alex Bennée wrote: This introduces a level of indirection for the debug registers. Instead of using the sys_regs[] directly we store registers in a structure in the vcpu. The new

Re: [PATCH v7 08/11] KVM: arm64: introduce vcpu-arch.debug_ptr

2015-07-02 Thread Christoffer Dall
On Wed, Jul 01, 2015 at 07:29:00PM +0100, Alex Bennée wrote: This introduces a level of indirection for the debug registers. Instead of using the sys_regs[] directly we store registers in a structure in the vcpu. The new kvm_arm_reset_debug_ptr() sets the debug ptr to the guest context.

[PATCH v7 08/11] KVM: arm64: introduce vcpu-arch.debug_ptr

2015-07-01 Thread Alex Bennée
This introduces a level of indirection for the debug registers. Instead of using the sys_regs[] directly we store registers in a structure in the vcpu. The new kvm_arm_reset_debug_ptr() sets the debug ptr to the guest context. This also entails updating the sys_regs code to access this new