Re: [Qemu-devel] [PATCH] Clear RF on SYSCALL instruction

2018-10-19 Thread Paolo Bonzini
On 19/10/2018 14:24, Roman Kapl wrote: > From: Rudolf Marek > > Fix the SYSCALL instruction in 64-bit (long mode). The RF flag > should be cleared in R11 as well as in the RFLAGS. Intel > and AMD CPUs behave same. AMD has this documented in the > APM vol 3. > > Signed-off-by: Roman Kapl > Signe

[Qemu-devel] [PATCH] Clear RF on SYSCALL instruction

2018-10-19 Thread Roman Kapl
From: Rudolf Marek Fix the SYSCALL instruction in 64-bit (long mode). The RF flag should be cleared in R11 as well as in the RFLAGS. Intel and AMD CPUs behave same. AMD has this documented in the APM vol 3. Signed-off-by: Roman Kapl Signed-off-by: Rudolf Marek --- target/i386/seg_helper.c | 4