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

2015-07-08 Thread Christoffer Dall
On Tue, Jul 07, 2015 at 05:30: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 v8 08/11] KVM: arm64: introduce vcpu->arch.debug_ptr

2015-07-07 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. Because we no longer give the sys_regs offset for the sys_reg_desc->reg