x86/hvm: split all linear reads and writes at page boundary
authorIgor Druzhinin <igor.druzhinin@citrix.com>
Mon, 18 Mar 2019 15:28:45 +0000 (16:28 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 18 Mar 2019 15:28:45 +0000 (16:28 +0100)
commit2d527ba310dc6695bba2df118ff9e053f7e40c82
treee7fbfb7a72b2801292dad304db5da7ac39ba844c
parent4a8e684d2937a240b51922b64ed0a866ec4ba76d
x86/hvm: split all linear reads and writes at page boundary

Ruling out page straddling at linear level makes it easier to
distinguish chunks that require proper handling as MMIO access
and not complete them as page straddling memory transactions
prematurely. This doesn't change the general behavior.

Signed-off-by: Igor Druzhinin <igor.druzhinin@citrix.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/emulate.c