Re: [Qemu-devel] [PATCH] target-i386: Fix eflags.TF/#DB handling of syscall/sysret insns

2016-12-16 Thread Paolo Bonzini
On 07/12/2016 00:06, Doug Evans wrote: > Hi. > > While qemu's behaviour matches what one would expect from reading > the docs, it does not match what I'm seeing on h/w. > Can anyone else confirm what the correct behaviour is here? > > --- > > The syscall and sysret instructions behave a bit di

Re: [Qemu-devel] [PATCH] target-i386: Fix eflags.TF/#DB handling of syscall/sysret insns

2016-12-13 Thread Paolo Bonzini
On 12/12/2016 20:23, Doug Evans wrote: > On Tue, Dec 6, 2016 at 3:06 PM, Doug Evans wrote: >> Hi. >> >> While qemu's behaviour matches what one would expect from reading >> the docs, it does not match what I'm seeing on h/w. >> Can anyone else confirm what the correct behaviour is here? >> >> --

Re: [Qemu-devel] [PATCH] target-i386: Fix eflags.TF/#DB handling of syscall/sysret insns

2016-12-12 Thread Doug Evans
On Tue, Dec 6, 2016 at 3:06 PM, Doug Evans wrote: > Hi. > > While qemu's behaviour matches what one would expect from reading > the docs, it does not match what I'm seeing on h/w. > Can anyone else confirm what the correct behaviour is here? > > --- > > The syscall and sysret instructions behave a

[Qemu-devel] [PATCH] target-i386: Fix eflags.TF/#DB handling of syscall/sysret insns

2016-12-06 Thread Doug Evans
Hi. While qemu's behaviour matches what one would expect from reading the docs, it does not match what I'm seeing on h/w. Can anyone else confirm what the correct behaviour is here? --- The syscall and sysret instructions behave a bit differently: TF is checked after the instruction completes.