commit | f78146b0f9230765c6315b2e14f56112513389ad | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Wed Apr 18 19:22:47 2012 +0300 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Thu Apr 19 20:35:07 2012 -0300 |
tree | 2e6780f2989c73c1bf214a5728514c1dc8e15f09 | |
parent | eac0556750e727ff39144a9a9e59d5ccf1fc0e2a [diff] |
KVM: Fix page-crossing MMIO MMIO that are split across a page boundary are currently broken - the code does not expect to be aborted by the exit to userspace for the first MMIO fragment. This patch fixes the problem by generalizing the current code for handling 16-byte MMIOs to handle a number of "fragments", and changes the MMIO code to create those fragments. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>