On 08/19/2010 03:09 PM, Gleb Natapov wrote:
On Thu, Aug 19, 2010 at 02:34:08PM +0300, Avi Kivity wrote:
EFLAGS.ZF needs to be checked after each iteration, not before.
Signed-off-by: Avi Kivity
---
v3: if restarting an instruction, don't advance rip
arch/x86/kvm/emulate.c | 41 ++
On Thu, Aug 19, 2010 at 02:34:08PM +0300, Avi Kivity wrote:
> EFLAGS.ZF needs to be checked after each iteration, not before.
>
> Signed-off-by: Avi Kivity
> ---
>
> v3: if restarting an instruction, don't advance rip
>
> arch/x86/kvm/emulate.c | 41 -
EFLAGS.ZF needs to be checked after each iteration, not before.
Signed-off-by: Avi Kivity
---
v3: if restarting an instruction, don't advance rip
arch/x86/kvm/emulate.c | 41 -
1 files changed, 20 insertions(+), 21 deletions(-)
diff --git a/arch/x86/k