[PATCH 3/5] arm64: KVM: vgic-v2: Add the GICV emulation infrastructure
From: Peter Maydell <hidden>
Date: 2016-09-01 14:39:47
Also in:
kvm, kvmarm
From: Peter Maydell <hidden>
Date: 2016-09-01 14:39:47
Also in:
kvm, kvmarm
On 1 September 2016 at 15:28, Marc Zyngier [off-list ref] wrote:
On 01/09/16 13:46, Christoffer Dall wrote:quoted
On Fri, Aug 19, 2016 at 01:38:13PM +0100, Marc Zyngier wrote:quoted
+ __skip_instr(vcpu);does this interact in any amusing way with single-step guest debugging?Ouch. Good point. Actually, nothing that uses kvm_skip_instr() works for singlestep/watchpoint either (trapped sysreg, WFx, spurious traps, MMIO). I guess that's something we need to fix overall.
I vaguely remember having conversations about this way way back. All the "advance one insn" stuff (including how the singlestep state machine gets advanced) is probably on the wrong side of "return to userspace". thanks -- PMM