i386: do not cross the pages boundaries in replay mode
commit5b9efc39aee90bbd343793e942bf8f582a0c9e4f
authorPavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Wed, 26 Nov 2014 10:39:42 +0000 (26 13:39 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 15 Dec 2014 11:21:02 +0000 (15 12:21 +0100)
treed16faa3d215c4c544d43cd30df5d8d140b44f15b
parentbf2a7ddb0a066c27ed1432b918baa046b6b7dfc5
i386: do not cross the pages boundaries in replay mode

This patch denies crossing the boundary of the pages in the replay mode,
because it can cause an exception. Do it only when boundary is
crossed by the first instruction in the block.
If current instruction already crossed the bound - it's ok,
because an exception hasn't stopped this code.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target-i386/cpu.h
target-i386/translate.c