KVM: x86: 32-bit wraparound read/write not emulated correctly
authorNadav Amit <namit@cs.technion.ac.il>
Mon, 26 Jan 2015 07:32:26 +0000 (09:32 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 26 Jan 2015 11:15:18 +0000 (12:15 +0100)
If we got a wraparound of 32-bit operand, and the limit is 0xffffffff, read and
writes should be successful. It just needs to be done in two segments.

Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/emulate.c
arch/x86/kvm/x86.c

Simple merge
Simple merge