Re: [Xen-devel] [PATCH v4 11/24] x86/emul: Implement singlestep as a retire flag

2016-12-02 Thread Jan Beulich
>>> On 01.12.16 at 17:55, wrote: > The behaviour of singlestep is to raise #DB after the instruction has been > completed, but implementing it with inject_hw_exception() causes x86_emulate() > to return X86EMUL_EXCEPTION, despite succesfully completing execution of the > instruction, including reg

[Xen-devel] [PATCH v4 11/24] x86/emul: Implement singlestep as a retire flag

2016-12-01 Thread Andrew Cooper
The behaviour of singlestep is to raise #DB after the instruction has been completed, but implementing it with inject_hw_exception() causes x86_emulate() to return X86EMUL_EXCEPTION, despite succesfully completing execution of the instruction, including register writeback. Instead, use a retire fl